[fpc-pascal] Delphi / FPC and UTF8 BOM

Jürgen Hestermann juergen.hestermann at gmx.de
Wed Oct 22 12:03:29 CEST 2008


> Then it's indeed much cleaner to  simply introduce a new string type which does not have to be  compatible with the OS encoding.

Agree!. It's an illusion that it's possible to hide the complexitiy
of different string encodings from the programmer.
Instead, such tries always lead to a disaster when the user tests
his programs with simple strings which work and then encounters
the problems late in the project when unusual characters are used.
Better confront the programmer with it right from the start so he
knows what to expect.

Jürgen Hestermann.




More information about the fpc-pascal mailing list