From dfcc20520a31cef06e10abab729905ebe6a596b2 Mon Sep 17 00:00:00 2001 From: mattias Date: Fri, 14 Nov 2014 09:34:26 +0000 Subject: [PATCH] lazutils: flag for system codepage CP_UTF8 git-svn-id: trunk@46845 - --- lcl/fpcadds.pas | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lcl/fpcadds.pas b/lcl/fpcadds.pas index faae7b9049..720bd5818c 100644 --- a/lcl/fpcadds.pas +++ b/lcl/fpcadds.pas @@ -66,4 +66,10 @@ begin {$ENDIF} end; +{$IFDEF EnableUTF8RTL} +initialization + DefaultSystemCodePage:=CP_UTF8; + DefaultRTLFileSystemCodePage:=CP_UTF8; +{$ENDIF} + end.