mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-05 00:28:25 +01:00
* Haiku use UTF-8 from day one, so it make sense to use the corresponding
code page as the default one (patch by Olivier Coursière, mantis #28520) git-svn-id: trunk@31333 -
This commit is contained in:
parent
750f47d155
commit
dc1f5f1a13
@ -714,7 +714,7 @@ var
|
||||
begin
|
||||
// Get one of non-empty environment variables in the next order:
|
||||
// LC_ALL, LC_CTYPE, LANG. Default is UTF-8 or ASCII.
|
||||
{$if defined(linux) or defined(darwin)}
|
||||
{$if defined(linux) or defined(darwin) or defined(haiku)}
|
||||
Result:=CP_UTF8;
|
||||
{$else}
|
||||
Result:=CP_ASCII;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user