--- aMule-2.0.0rc5.orig/src/otherfunctions.h	2004-07-05 23:45:40 +0400
+++ aMule-2.0.0rc5/src/otherfunctions.h	2004-09-14 09:52:03 +0400
@@ -24,12 +24,16 @@
 #include <wx/defs.h>		// Needed before any other wx/*.h
 #include <wx/string.h>		// Needed for wxString
 #include <wx/strconv.h>
+// added by agent_007
+#include <wx/intl.h>
+//
 #include "types.h"		// Needed for uint16, uint32 and uint64
 #include "endianfix.h"
 
 class CPartFile;
 
-static wxCSConv aMuleConv(wxT("iso8859-1"));
+static wxCSConv aMuleConv(wxLocale::GetSystemEncodingName());
+
 #ifdef wxUSE_UNICODE
 	#define unicode2char(x) (const char*) aMuleConv.cWX2MB(x)
 	#define char2unicode(x) aMuleConv.cMB2WX(x)
