[Libreoffice-commits] core.git: filter/source
Caolán McNamara
caolanm at redhat.com
Tue Dec 2 09:05:31 PST 2014
filter/source/msfilter/util.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit c72305d1d855ace5ea1d46892576851644236a7d
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Dec 2 17:04:56 2014 +0000
add fallback encodings for Thai and Vietnamese
Change-Id: Ie9fbf8d25e7954ae3a60ea7224881a0ad58280ad
diff --git a/filter/source/msfilter/util.cxx b/filter/source/msfilter/util.cxx
index 8350a1a..fcb4a51 100644
--- a/filter/source/msfilter/util.cxx
+++ b/filter/source/msfilter/util.cxx
@@ -34,6 +34,10 @@ rtl_TextEncoding getBestTextEncodingFromLocale(const ::com::sun::star::lang::Loc
return RTL_TEXTENCODING_MS_1254;
if (rLanguage == "lt")
return RTL_TEXTENCODING_MS_1257;
+ if (rLanguage == "th")
+ return RTL_TEXTENCODING_MS_874;
+ if (rLanguage == "vi")
+ return RTL_TEXTENCODING_MS_1258;
return RTL_TEXTENCODING_MS_1252;
}
More information about the Libreoffice-commits
mailing list