[fpc-devel] Unicodestring branch, please test and help fixing

Marco van de Voort marcov at stack.nl
Mon Sep 1 10:33:39 CEST 2008


In our previous episode, Luiz Americo Pereira Camara said:
> >>
> >> And use TNativeString for encoding agnostic purposes.
> >
> > Well, really agnostic code should simply use "string" :)
> 
> Delphi is introducing  the RawByteString type, that skips the auto 
> encoding conversion. I don't know where it fits in the upcoming unicode 
> schema. Anyway there's an example how to use it: 
> http://www.micro-isv.asia/2008/08/using-rawbytestring-effectively/

That's the lowlevel agnostic way. I'm talking more for purposes like classes
libraries, that will want to use a native type on both conventions, but will
generally operate on the strings on a relatively high level.



More information about the fpc-devel mailing list