[fpc-pascal] Casting UTF8String, WideString and UnicodeString into AnsiString and vice versa

ik idokan at gmail.com
Mon Dec 3 18:12:54 CET 2012


Hello,

I made casting of UTF8String, WideString and UnicodeString to AnsiString:
https://github.com/ik5/fp-msgpack/blob/master/src/msgpack.pas#L452

As an example.

My tests works. but are there things/contents that can break this
casting, or change the content itself in some way ?

Thanks,
Ido



More information about the fpc-pascal mailing list