Subject: Re: sizeof(char) == 1 may yeald false
From: Andrew Dunbar (hippietrail@yahoo.com)
Date: Sun Jun 03 2001 - 02:17:41 CDT
Aaron Lehmann wrote:
>
> On Sun, Jun 03, 2001 at 02:08:40AM +0100, rms@greymalkin.yi.org wrote:
> > Only when char is not a two byte char.
> >
> > Do not assume char to be 1 byte ;), for instance, in our friendly oriental chars users' case.
>
> char is defined to be 1 byte.
Don't worry, CJK "characters" are understood to require one or more
"char".
This is okay in our string classes.
Multibyte issues only come into play when you're randomly accessing
individual characters inside a string.
Andrew.
-- http://linguaphile.sourceforge.net _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
This archive was generated by hypermail 2b25 : Sun Jun 03 2001 - 02:15:55 CDT