in reply to Re: Unicode Help
in thread Unicode Help

In the linked node there is nothing about UTF-16 which the OP apparently needs to use. Here is a page in wikipedia about it: UTF-16.

Replies are listed 'Best First'.
Re: Re: Re: Unicode Help
by halley (Prior) on Mar 17, 2004 at 17:37 UTC
    I think my point is that it's still just a guess that the application needs UTF-16. Microsoft uses a non-Unicode "DBCS" character set which is not the same as UTF-16, but would look very similar for many simple samples. Assumptions are dangerous.

    --
    [ e d @ h a l l e y . c c ]

      Windows uses UCS-2. It is Unicode and standard. It is equivalent to UTF-16 for all characters in the Basic Code Plane, all the characters representable in 16-bits. For characters greater than U+FFFF, UTF-16 uses surrogate pairs to encode them in 32-bits.