diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/rtl/textenc/rtl_textcvt.cxx | 1 | ||||
-rw-r--r-- | sal/textenc/tencinfo.cxx | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sal/qa/rtl/textenc/rtl_textcvt.cxx b/sal/qa/rtl/textenc/rtl_textcvt.cxx index 3c36852bebfc..0bae6b403088 100644 --- a/sal/qa/rtl/textenc/rtl_textcvt.cxx +++ b/sal/qa/rtl/textenc/rtl_textcvt.cxx @@ -3088,6 +3088,7 @@ void Test::testWindows() { bool reverse; }; static Data const data[] = { + { 42, RTL_TEXTENCODING_SYMBOL, true }, { 437, RTL_TEXTENCODING_IBM_437, true }, { 708, RTL_TEXTENCODING_ISO_8859_6, false }, { 737, RTL_TEXTENCODING_IBM_737, true }, diff --git a/sal/textenc/tencinfo.cxx b/sal/textenc/tencinfo.cxx index a220d71a4330..94a0cdb1e270 100644 --- a/sal/textenc/tencinfo.cxx +++ b/sal/textenc/tencinfo.cxx @@ -826,6 +826,7 @@ rtl_getTextEncodingFromWindowsCodePage(sal_uInt32 nCodePage) { switch (nCodePage) { + case 42: return RTL_TEXTENCODING_SYMBOL; case 437: return RTL_TEXTENCODING_IBM_437; case 708: return RTL_TEXTENCODING_ISO_8859_6; case 737: return RTL_TEXTENCODING_IBM_737; @@ -902,6 +903,7 @@ rtl_getWindowsCodePageFromTextEncoding(rtl_TextEncoding nEncoding) { switch (nEncoding) { + case RTL_TEXTENCODING_SYMBOL: return 42; case RTL_TEXTENCODING_IBM_437: return 437; /* case RTL_TEXTENCODING_ISO_8859_6: return 708; */ case RTL_TEXTENCODING_IBM_737: return 737; |