Samuel Thibault wrote:
> Clint Adams, le Sat 26 Apr 2008 16:05:48 +0100, a écrit :
> > Having locale-based (and multibyte) word separators sounds like a nightmare
> > to me, but maybe someone has some ideas.
> 
> iswspace()

The characters used for word splitting are contained in the IFS
variable. So you can add character 0x82 to that and in a suitable
locale, that will work. In a UTF-8 locale, you might have problems; I
don't know whether multi-byte chars are supported in IFS.

For what it's worth, I don't think it is right for non-breaking spaces
to be in IFS by default. I've seen people use them precisely because
they are not.

Oliver




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to