[fpc-pascal] Unicode file routines proposal

Luca Olivetti luca at ventoso.org
Mon Jun 30 22:19:49 CEST 2008


En/na John Coppens ha escrit:

> This may have been discussed before - but should the encoding not be
> dependent on the locale? What would happen if I write a FPC program,
> if the internal routines are, eg., UTF-16, and my locale is set to
> en_US.UTF8?
> 
> Anyway, I have the impression that most of Linux is utf-8 oriented by now.

Well, yes, but that's the external representation.
I'd say to take a look at how python managed to integrate unicode support:

http://www.google.com/search?domains=www.python.org&sitesearch=www.python.org&sourceid=google-search&q=unicode&submit=search

Bye
-- 
Luca




More information about the fpc-pascal mailing list