[fpc-devel] utf8 in 2.6.0
Martin Schreiber
mse00000 at gmail.com
Tue Jan 1 17:51:45 CET 2013
Thanks, another question, or is the behavior already documented?
> > UnicodeStringVar:= 'abcd'#228#246#252#1092#1080#1089#1074;
> >
> > "
> > ?
>
> That string contains codepoints > #255 and hence is a unicodestring rather
> than a single byte string. No conversion at either compile or run time
> happens, and the codepage directive has no influence.
>
{$codepage utf8}
...
UnicodeStringVar:= 'abcd'#228#252#246;
Does it store 'abcdäüö' in trunk?
Martin
More information about the fpc-devel
mailing list