[fpc-pascal] Unicode file routines proposal
Felipe Monteiro de Carvalho
felipemonteiro.carvalho at gmail.com
Tue Jul 1 14:03:19 CEST 2008
A string type which you don't know the encoding is very inconvenient,
because you need to convert it to something else anytime you wish to
do any routine which will require knowing the encoding.
How will Pos be implemented? And UpperCase? Any cross-platform string
manipulation routine will sudenly become single-platform. Any one
implementing a string routine will need to implement it several type,
not to mention that no string routines currently exist for such new
type.
The more I think about it the more I am sure that a string type whose
encoding we know nothing about is very inconvenient for developers.
About UCS-2 this is absurd. We certainlly cannot have half the chinese
characters ignored in the Free Pascal RTL.
--
Felipe Monteiro de Carvalho
More information about the fpc-pascal
mailing list