Subject: Patch: RTF import respects encoding
From: Andrew Dunbar (hippietrail@yahoo.com)
Date: Sat Jun 09 2001 - 23:14:03 CDT
I noticed that RTF files that set /ansicpg to anything other than
1252 were still interpreting plain text as code page 1252.
Same for the other fields that set the encoding (/mac etc)
This seems to be the appropriate fix. Please let me know if I've
overlooked something. It works perfectly for me.
Andrew Dunbar.
-- http://linguaphile.sourceforge.net
Index: src/wp/impexp/xp/ie_imp_RTF.cpp =================================================================== RCS file: /cvsroot/abi/src/wp/impexp/xp/ie_imp_RTF.cpp,v retrieving revision 1.69 diff -u -r1.69 ie_imp_RTF.cpp --- src/wp/impexp/xp/ie_imp_RTF.cpp 2001/06/05 15:25:55 1.69 +++ src/wp/impexp/xp/ie_imp_RTF.cpp 2001/06/10 03:59:10 @@ -652,7 +650,7 @@ default: if (m_currentRTFState.m_internalState == RTFStateStore::risNorm) { - ok = ParseChar(c); + ok = ParseChar(c,false); } else {
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
This archive was generated by hypermail 2b25 : Sat Jun 09 2001 - 23:11:51 CDT