Daniël Mantione
Mon, 01 Feb 2010 01:38:45 -0800
Op Mon, 1 Feb 2010, schreef Marco van de Voort:
In our previous episode, Michael Schnell said:D2009/d2010 are still windows only.Do you think there is any general problem in using D2009 strings with dynamic encoding with Unix ? On the first view I don't see one.In general I prefer to use each platform using its native encoding. Some commercial unices are also using utf-16 afaik, since they haven't switched their TTY to UTF-8 yet. To be investigated. I lean towards RTLString=utf8string; and RTLString=unicodestring on the respective platforms, and then express the RTL in RTLString.
No, RTLString=ansistring on Linux and most Unix platforms. Unix is encoding agnostic so if you want to use the native string type you must simple use old fashioned ansistring.
Daniël
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
- [fpc-devel] RTL and Unicode filenames operations. dmitry boyarintsev
- Re: [fpc-devel] RTL and Unicode filenames operations. Marco van de Voort
- Re: [fpc-devel] RTL and Unicode filenames operations. dmitry boyarintsev
- Re: [fpc-devel] RTL and Unicode filenames operations. Marco van de Voort
- Re: [fpc-devel] RTL and Unicode filenames operations. dmitry boyarintsev
- Re: [fpc-devel] RTL and Unicode filenames operations. Marco van de Voort
- Re: [fpc-devel] RTL and Unicode filenames operations. Michael Schnell
- Re: [fpc-devel] RTL and Unicode filenames operations. Marco van de Voort
Re: [fpc-devel] RTL and Unicode filenames operations. Daniël Mantione- Re: [fpc-devel] RTL and Unicode filenames operations. Marco van de Voort
- Re: [fpc-devel] RTL and Unicode filenames operations. Daniël Mantione
- Re: [fpc-devel] RTL and Unicode filenames operations. Michael Schnell
- Re: [fpc-devel] RTL and Unicode filenames operations. Marco van de Voort
- Re: [fpc-devel] RTL and Unicode filenames operations. Michael Schnell
- Re: [fpc-devel] RTL and Unicode filenames operations. Marco van de Voort
- Re: [fpc-devel] RTL and Unicode filenames operations. Michael Schnell
- Re: [fpc-devel] RTL and Unicode filenames operations. Michael Schnell
- Re: [fpc-devel] RTL and Unicode filenames operations. Graeme Geldenhuys
- Re: [fpc-devel] RTL and Unicode filenames operations. dmitry boyarintsev