? svtools/svtools.vpj Index: svtools/source/svhtml/htmlout.cxx =================================================================== RCS file: /cvs/util/svtools/source/svhtml/htmlout.cxx,v retrieving revision 1.23 diff -u -r1.23 htmlout.cxx --- svtools/source/svhtml/htmlout.cxx 1 Nov 2007 15:20:27 -0000 1.23 +++ svtools/source/svhtml/htmlout.cxx 30 Nov 2007 14:34:27 -0000 @@ -99,6 +99,50 @@ rtl_TextEncoding eDestEnc ) { const sal_Char* pStr = 0; + + if( eDestEnc == RTL_TEXTENCODING_ISO_8859_2 || eDestEnc == RTL_TEXTENCODING_MS_1250 || + eDestEnc == RTL_TEXTENCODING_UTF8 ) + { + // Don't handle the following characters for Easter European (ISO-8859-2). + switch ( c ) + { + case 164: // curren + case 184: // ccedil + case 193: // Aacute + case 194: // Acirc + case 196: // Auml + case 199: // Ccedil + case 201: // Eacute + case 203: // Euml + case 205: // Iacute + case 206: // Icirc + case 211: // Oacute + case 212: // Ocirc + case 214: // Ouml + case 215: // times + case 218: // Uacute + case 220: // Uuml + case 221: // Yacute + case 225: // aacute + case 226: // acirc + case 228: // auml + case 233: // eacute + case 235: // euml + case 237: // iacute + case 238: // icirc + case 243: // oacute + case 244: // ocirc + case 246: // ouml + case 247: // divide + case 250: // uacute + case 252: // uuml + case 253: // yacute + case 352: // Scaron + case 353: // scaron + return pStr; + } + } + switch( c ) { // case '\x0a': return HTMLOutFuncs::Out_Tag( rStream, sHTML_linebreak );