Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-12

Encoded AnsiString

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Hans-Peter Diettrich
Show quoted text 10 lines
30.12.2013 9:07, Hans-Peter Diettrich ?????: > Do you think that FPC should really reproduce all this inconsistent > behaviour? Who would test or even specify the compatible behaviour, > when every new variation will result in more unexpected results? IMO > it's much easier to do it right, and fix the Delphi flaws in FPC. The work is already done by FPC team. AnsiString(codepage) works and works compatible with Delphi (whether someone like this or not) and the behavior is covered by tests. Trunk version is very close to 2.8 release.

This means that UTF-8 won't work properly when it's not CP_ACP :-(

DoDi