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