dmitry boyarintsev schrieb:
> On Fri, Nov 13, 2009 at 12:44 AM, Florian Klaempfl
> <flor...@freepascal.org> wrote:
>> Well, an ansistring has an implicit encoding: system. This won't change
>> and if one uses only unicodestrings and ansistrings, no change will be
>> noticed.
> 
> Thanks. It's always nice to hear "No changes required" :)

Well, I guess you're talking about lazarus ;) I don't see yet however,
if and how the ansistring abuse in the lcl will bite one ...

> 
>> No, because it would avoid auto-conversion from/to unicodestring as well.
> 
> does your answer means, that:
> var
>   r : RawByteString;
>   w : WideString;
> 
> r:=w; // is impossible because of unknown encoding of RawByteString?

No, it is possible becuase the encoding is known because it is stored in
RawByteString, but the appropriate conversion will be selected at runtime.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to