--- src/org/springframework/orm/ibatis/SqlMapClientFactoryBean.java.sav1	2008-05-09 00:58:59.000000000 +0200
+++ src/org/springframework/orm/ibatis/SqlMapClientFactoryBean.java	2008-07-18 13:30:06.000000000 +0200
@@ -18,6 +18,7 @@
 
 import java.io.IOException;
 import java.io.InputStream;
+import java.io.InputStreamReader;
 import java.lang.reflect.Field;
 import java.util.Properties;
 
@@ -336,7 +337,7 @@
 		for (int i = 0; i < configLocations.length; i++) {
 			InputStream is = configLocations[i].getInputStream();
 			try {
-				client = configParser.parse(is, properties);
+				client = configParser.parse(new InputStreamReader(is), properties);
 			}
 			catch (RuntimeException ex) {
 				throw new NestedIOException("Failed to parse config resource: " + configLocations[i], ex.getCause());
@@ -347,7 +348,7 @@
 			SqlMapParser mapParser = SqlMapParserFactory.createSqlMapParser(configParser);
 			for (int i = 0; i < mappingLocations.length; i++) {
 				try {
-					mapParser.parse(mappingLocations[i].getInputStream());
+					mapParser.parse(new InputStreamReader(mappingLocations[i].getInputStream()));
 				}
 				catch (NodeletException ex) {
 					throw new NestedIOException("Failed to parse mapping resource: " + mappingLocations[i], ex);
