PureBASIC internal encoding of unicode, UCS-2 or UTF-16?
Re: PureBASIC internal encoding of unicode, UCS-2 or UTF-16?
For the record, PB uses UCS2 string encoding internally when unicode mode is ON (it doesn't support multibyte UTF16 encoding).
Re: PureBASIC internal encoding of unicode, UCS-2 or UTF-16?
Does this mean that if Windows passes back a UTF-16 string where one character actually uses two UTF-16 "characters" then PureBasic will treat them as if they where two characters rather than a extended one?Fred wrote:For the record, PB uses UCS2 string encoding internally when unicode mode is ON (it doesn't support multibyte UTF16 encoding).
(Similar to how a Ascii routine would treat a UTF-8 string with extended UTF-8 characters.)