[fpc-devel] simple UTF tests

Michael Schnell mschnell at lumino.de
Fri Jan 6 10:19:52 CET 2012


On 01/06/2012 09:59 AM, Marco van de Voort wrote:
> Unicodestring.
Of course this is "suggested" regarding the history of  Delphi, before 
the variable string type had been introduced.

But again, even the name now is ambiguous, as there are several Unicode 
encoding types and they seem to be available with the new string type. 
(This is what this discussion is about.) If UnicodeString forces UTF-16 
encoding, why not use a more "speaking" name ?

And again, this seems not "sane", again (so it maybe is questionable if 
it makes sense to adopt the paradigm to FPC) . Why provide yet another 
type of strings, if we have a string type that is able to hold 1- 2- and 
4- byte based encoding types including any variants of those ?

-Michael





More information about the fpc-devel mailing list