瀏覽代碼

* 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