--- abiword-1.1.3+cvs.2003.03.02.orig/abi/src/af/xap/xp/xap_Strings.cpp
+++ abiword-1.1.3+cvs.2003.03.02/abi/src/af/xap/xp/xap_Strings.cpp
@@ -250,11 +250,15 @@
 			}
 		}
 
+#if 0
 		const char * encoding = (XAP_EncodingManager::get_instance()->getNativeSystemEncodingName()) ?
 		  XAP_EncodingManager::get_instance()->getNativeSystemEncodingName() :
 		  XAP_EncodingManager::get_instance()->getNativeEncodingName();
 
 		UT_Wctomb wctomb_conv(encoding);
+#else
+		UT_Wctomb wctomb_conv(XAP_App::getApp()->getDefaultEncoding());
+#endif
 		char letter_buf[20];
 		int length;
 		for (int k=0; k<kLimit; k++)

