You've already forked lazarus-ccr
Explicitly specify test source file codepage as UTF8. Only works on FPC trunk. Tested on FPC trunk and FPC 2.6.2 x86, Windows.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2880 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1,3 +1,11 @@
|
||||
{$ifdef fpc}
|
||||
{$if FPC_FULLVERSION>20701}
|
||||
//Explicitly specify this is an UTF8 encoded file.
|
||||
//Alternative would be UTF8 with BOM but writing UTF8 BOM is bad practice.
|
||||
//See http://wiki.lazarus.freepascal.org/FPC_Unicode_support#String_constants
|
||||
{$codepage UTF8} //Win 65001
|
||||
{$endif} //fpc_fullversion
|
||||
{$endif fpc}
|
||||
unit stringtests;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
Reference in New Issue
Block a user