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. _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
