[fpc-pascal] FPC 3: disabling automatic AnsiString codepage conversion
Michael Van Canneyt
michael at freepascal.org
Mon Apr 4 12:32:37 CEST 2016
On Mon, 4 Apr 2016, Graeme Geldenhuys wrote:
> On 2016-04-04 10:43, Michael Van Canneyt wrote:
>> No. It says 'typically'.
>> That doesn't necessarily mean it is so, but is mostly correct.
> It is still a very vague assumption. As I mentioned in my previous
> reply, that statement is false on my FreeBSD system too. So I should
> read the wiki as "typically incorrect" ;-)
>> No, that would be wrong. it normally is CP_UTF8 on linux. But it can differ.
>> I know people that still use ISO-8895 (or something similar). Only the
>> programmer can know what is correct.
> Just curious, how do you change the default codepage on a Linux system?
> By exporting a new value to the LANG environment variable?
Yes. And various LC_ environment vars.
More information about the fpc-pascal