[fpc-pascal] 2.5.1: Ansi string constants vs Unicode
Jonas Maebe
jonas.maebe at elis.ugent.be
Sat Jul 10 23:01:57 CEST 2010
On 10 Jul 2010, at 22:32, dmitry boyarintsev wrote:
> On Sun, Jul 11, 2010 at 12:14 AM, Tobias Giesen
> <tobias_subscriber at tgtools.com> wrote:
>> I've got 2.5.1 now. I have a string constant like this:
>>
>> const Vec:AnsiString=#$094#$06D;
>>
>> This should just be 8-bit data with no conversion.
>
> try const Vec:AnsiString=#$94#$6D;
I've now documented this change at http://wiki.freepascal.org/User_Changes_Trunk#Short.2FAnsistring_typed_constants_containing_widechars.2Funicodechars
Jonas
More information about the fpc-pascal
mailing list