Browse Source

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

git-svn-id: trunk@31722 -
yury 10 years ago
parent
commit
5cab55be27
1 changed files with 1 additions and 1 deletions
  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