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. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal