[fpc-devel] Unicode support (again)

Luiz Americo Pereira Camara pascalive at bol.com.br
Wed Nov 12 03:23:59 CET 2008


Jonas Maebe escreveu:
> If people want to rely on what they are used to in non-unicode 
> environments, then they cannot directly use unicode strings. They'll 
> first have to assign it or typecast it to a non-unicode string and 
> then operate on that string. At least if there's any data loss in that 
> case, the programmer has full responsibility and knows (or should 
> know) the risks.


Just for information Delphi introduces RawByteString type to handle such 
case:

http://www.micro-isv.asia/2008/08/using-rawbytestring-effectively/

Luiz



More information about the fpc-devel mailing list