Author: jackson
Date: 2008-01-26 01:22:20 -0500 (Sat, 26 Jan 2008)
New Revision: 93976
Modified:
trunk/moon/src/xaml.cpp
Log:
* xaml.cpp: Set the encoding when we are reading files also.
Modified: trunk/moon/src/xaml.cpp
===================================================================
--- trunk/moon/src/xaml.cpp 2008-01-26 03:50:09 UTC (rev 93975)
+++ trunk/moon/src/xaml.cpp 2008-01-26 06:22:20 UTC (rev 93976)
@@ -1194,7 +1194,7 @@
goto cleanup_and_return;
}
- p = XML_ParserCreateNS (NULL, '|');
+ p = XML_ParserCreateNS ("utf-8", '|');
if (!p) {
#ifdef DEBUG_XAML
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches