[fpc-devel] Trying to understand the wiki-Page "FPC Unicodesupport"
jonas.maebe at elis.ugent.be
Thu Nov 27 11:20:38 CET 2014
On 26/11/14 21:25, Hans-Peter Diettrich wrote:
> Jonas Maebe schrieb:
>> On 26/11/14 17:41, Tomas Hajny wrote:
>>> BTW, in this context - can users choose UTF16BE on little endian
>>> platforms (and vice versa)?
>> No, because we do not have any routines that allow a user to set/change
>> the codepage of a unicodestring (either at run time or at compile time).
> What about file I/O?
> It should be possible to read (and write) files of either endianness.
Standard I/O only supports single byte code pages (which should be
documented). Reading a unicodestring from a text file converts from the
single byte code page to the native-endianess UTF-16 format.
More information about the fpc-devel