Philippe Lhoste:
Default is ambiguous, no? In Windows XP, it could be UTF-16.
Yes, and I didn't like "Default" because it says almost nothing, but 8-bit is not always true.
BTW, why do you use UCS-2 instead of UTF-16? I know they are not the same thing, although the exact nuances escape me, but I thought UCS-2 was a bit outdated.
Scintilla doesn't handle characters outside the Basic Multilingual Plane which are stored as 4 byte UTF-8 sequences or as 2 16 bit values. It would be worthwhile adding support but its a bit tricky to test since all the widely used characters are inside the BMP and IIRC you need to download extra components (Chinese language support and fonts) to be able to do anything with UTF-16 text on screen with Windows XP. Neil _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
