From 58c67dc73ced8a86ba6c51d045506147f2646679 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Tue, 6 Nov 2001 12:40:45 +0000 Subject: [PATCH] #93272# use ISO_8859_x text-encodings now instead of MS_125x encodings. --- linguistic/source/misc.cxx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/linguistic/source/misc.cxx b/linguistic/source/misc.cxx index 19778016d914..9b7a04bc2521 100644 --- a/linguistic/source/misc.cxx +++ b/linguistic/source/misc.cxx @@ -2,9 +2,9 @@ * * $RCSfile: misc.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: tl $ $Date: 2001-08-17 11:04:21 $ + * last change: $Author: tl $ $Date: 2001-11-06 13:40:45 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -146,6 +146,8 @@ rtl_TextEncoding GetTextEncoding( INT16 nLanguage ) if (nLastLanguage != nLanguage) { + //!! IPR uses textencodings Latin-1, Latin-2, Latin-5 and Latin-7 !! + nLastLanguage = nLanguage; switch (nLanguage) { @@ -166,15 +168,15 @@ rtl_TextEncoding GetTextEncoding( INT16 nLanguage ) case LANGUAGE_NORWEGIAN_BOKMAL : case LANGUAGE_NORWEGIAN_NYNORSK : case LANGUAGE_AFRIKAANS : - nEncoding = RTL_TEXTENCODING_MS_1252; break; + nEncoding = RTL_TEXTENCODING_ISO_8859_1; break; case LANGUAGE_CZECH : case LANGUAGE_HUNGARIAN : case LANGUAGE_POLISH : - nEncoding = RTL_TEXTENCODING_MS_1250; break; + nEncoding = RTL_TEXTENCODING_ISO_8859_2; break; case LANGUAGE_RUSSIAN : - nEncoding = RTL_TEXTENCODING_MS_1251; break; + nEncoding = RTL_TEXTENCODING_ISO_8859_5; break; case LANGUAGE_GREEK : - nEncoding = RTL_TEXTENCODING_MS_1253; break; + nEncoding = RTL_TEXTENCODING_ISO_8859_7; break; default: DBG_ERROR( "unexpected language" ); }