To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=67838
------- Additional comments from [EMAIL PROTECTED] Sun Dec 17 05:36:35 -0800
2006 -------
The offending place is probably sw_w4wpar1.cxx - Read_ExtendCharSet(). As you
can see, only few charsets are being converted. Should be simply extended to
cover all charsets.
Including the snippet:
void SwW4WParser::Read_ExtendCharSet() // (XCS)
{
BYTE c;
long nValue;
if( W4WR_TXTERM == GetDecimal( nValue ) && !nError &&
GetHexByte( c ) && !nError )
{
rtl_TextEncoding eCodeSet = RTL_TEXTENCODING_MS_1252;
if( nValue == 850 && c == 0xef ) //! Sonderbehandlung fuer Haeckchen
{ // von WordPerfect
nValue = 819;
c = 180; // Macke W4W ??
}
if ( !( nIniFlags & W4WFL_NO_WW_SPECCHAR )
&& ( nDocType == 44 || nDocType == 49 ) //! WW2: Hier stimmen die
&& nValue == 9998 // Umlaute "A, "U, "s nicht
&& ( c == 0xc4 || c == 0xdc || c == 0xdf ))
nValue = 819; // mache dann Umlaute aus Symbolen
switch( nValue )
{
case 9999: // Complete Mactintosh Char Set
eCodeSet = RTL_TEXTENCODING_APPLE_ROMAN;
#ifdef MAC
if ( nDocType == 1 && rVersion == "0" ) // Dos-Ascii
eCodeSet = RTL_TEXTENCODING_IBM_850; // Fehler im Dos-Filter
// umpopeln
#endif
break;
case 437: // Standard US PC code page
eCodeSet = RTL_TEXTENCODING_IBM_437;
break;
case 850: // Standard international PC code page
eCodeSet = RTL_TEXTENCODING_IBM_850;
break;
case 819: // ANSI code page
eCodeSet = ( 39 == nDocType &&
rVersion.EqualsAscii( "0" )) // MS Works f. DOS
? RTL_TEXTENCODING_IBM_850
: RTL_TEXTENCODING_MS_1252;
break;
case 8591: // ISO 8859-1
eCodeSet = RTL_TEXTENCODING_ISO_8859_1;
break;
case 8592: // ISO 8859-2
eCodeSet = RTL_TEXTENCODING_ISO_8859_2;
break;
case 9998: // Windows Standard-Symbol-Charset
{
SvxFontItem aFont( FAMILY_DONTKNOW, String::CreateFromAscii(
RTL_CONSTASCII_STRINGPARAM( "Symbol" )),
aEmptyStr, PITCH_DONTKNOW,
RTL_TEXTENCODING_SYMBOL );
Flush();
SetAttr( aFont ); // neuer Font
FlushChar( c );
Flush(); // Sonderzeichen
// Font wieder zurueck
pCtrlStck->SetAttr( *pCurPaM->GetPoint(), RES_CHRATR_FONT );
bWasXCS = TRUE;
return;
}
}
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]