[fpc-pascal] Unicode file routines proposal
John Coppens
john at jcoppens.com
Mon Jun 30 19:44:36 CEST 2008
On Mon, 30 Jun 2008 10:03:18 -0300
"Felipe Monteiro de Carvalho" <felipemonteiro.carvalho at gmail.com> wrote:
> On Mon, Jun 30, 2008 at 9:55 AM, Graeme Geldenhuys
> <graemeg.lists at gmail.com> wrote:
> > I thought UTF-8 was prefered. Hence the reason Lazarus followed the
> > UTF-8 route in LCL and Unicode support.
>
> UTF-8 is much better for the LCL because it just fits much better in
> out existing codebase.
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.
John
More information about the fpc-pascal
mailing list