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
{