> 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
- Re: string encoding Hong Zhang
- Re: string encoding Simon Cozens
- Re: string encoding Hong Zhang
- Re: string encoding Simon Cozens
- Re: string encoding Bryan C . Warnock
- Re: string encoding Hong Zhang
- Re: string encoding Bryan C . Warnock
- Re: string encoding Simon Cozens
- Re: string encoding Hong Zhang
- Re: string encoding Simon Cozens
- Re: string encoding Hong Zhang
- Re: string encoding Simon Cozens
- Re: string encoding Hong Zhang
- Re: string encoding Simon Cozens
- Re: string encoding Hong Zhang
- Re: string encoding Simon Cozens
- Re: string encoding Hong Zhang
- Re: string encoding Hong Zhang
- Re: string encoding Dan Sugalski
- Re: string encoding Tom Lord
- Re: string encoding Dan Sugalski