--- libs/FlocaleCharset.c +++ libs/FlocaleCharset.c @@ -521,7 +521,7 @@ } if (FLCXOMCharsetList_num > 0 && FLCXOMCharsetList[0]) { - FLCXOMCharset = FLCXOMCharsetList[0]; + FLCXOMCharset = FLCXOMCharsetList[FLCXOMCharsetList_num - 1]; } #endif }