On Wed, 03 Nov 2004 15:59:29 +0000, Richard Kettlewell rjk@terraraq.org.uk wrote:
wchar_t is platform dependent and locale-dependent, though I've no idea if anyone is mad enough to make it actually differ from locale to locale. Linux uses UTF-32; AIUI Windows uses UTF-16.
I've not personally tried to use UTF-16, but the combination of being both variable length and non-byte-oriented sounds very inconvenient.
Is UTF-16 is variable length? I thought it was fixed at 16 bits per character. You might be thinking of MultiByte which is definately does not use a fixed number of bits per character.
Tim.