On Sun, Jul 11, 2010 at 12:14 AM, Tobias Giesen
tobias_subscri...@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;
thanks,
dmitry
On 10 Jul 2010, at 22:32, dmitry boyarintsev wrote:
On Sun, Jul 11, 2010 at 12:14 AM, Tobias Giesen
tobias_subscri...@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=#$094#$06D;
This should just be 8-bit data with no conversion.
try const Vec:AnsiString=#$94#$6D;
Works! Thanks Dmitry!
Cheers,
Tobias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
On 10/07/2010 22:01, Jonas Maebe wrote:
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
On 10 Jul 2010, at 23:13, Martin wrote:
It would be nice if there was(maybe there is) some way, of telling the
compiler that the string is to be treaded as binary-data. Maybe like:
{$codepage utf8}
const
{$codepage binary} // temporary change
s1: shortstring = 'éà';
{$codepage utf8}