소스 검색

* android: Fixed ansi-unicode conversion when DefaultSystemCodePage is changed.

git-svn-id: trunk@31722 -
yury 10 년 전
부모
커밋
5cab55be27
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rtl/android/cwstring.pp

+ 1 - 1
rtl/android/cwstring.pp

@@ -98,7 +98,7 @@ begin
     exit;
   end;
   InitThreadData;
-  if (cp = DefaultSystemCodePage) or (cp = CP_ACP) then
+  if (cp = CP_UTF8) or (cp = CP_ACP) then
     Result:=DefConv
   else begin
     if cp <> LastCP then begin