Re: string encoding
[email protected] ("Hong Zhang") Fri, 16 Feb 2001 16:51:14 -0800
| Newsgroups | perl.perl6.internals.unicode |
|---|---|
| Organization | Stratum8 Corp. |
| Message-ID | <057b01c0987b$badaba70$2d031dc0@wora> |
> On Fri, Feb 16, 2001 at 02:39:10PM -0800, Hong Zhang wrote: > > But you can not use memcmp() to compare binary order of two UTF-32 > > strings on little endian machines, even both strings are using > > the same endian. > > Yes, you can. Yes and no. You can use for eq(), but not for cmp(). On little endian machine, the memcmp() will first compare the least significant byte, not most. Hong