[Yanel-commits] rev 35705 -
public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager
simon at wyona.com
simon at wyona.com
Thu Apr 17 17:33:54 CEST 2008
Author: simon
Date: 2008-04-17 17:33:53 +0200 (Thu, 17 Apr 2008)
New Revision: 35705
Modified:
public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyManagerResource.java
Log:
use utf-8 otherwise there will be problems on non utf-8 systems
Modified: public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyManagerResource.java
===================================================================
--- public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyManagerResource.java 2008-04-17 15:33:33 UTC (rev 35704)
+++ public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyManagerResource.java 2008-04-17 15:33:53 UTC (rev 35705)
@@ -139,7 +139,7 @@
log.error(e, e);
throw new Exception(e.getMessage());
}
- return new ByteArrayInputStream(sb.toString().getBytes());
+ return new ByteArrayInputStream(sb.toString().getBytes("utf-8"));
}
/**
More information about the Yanel-commits
mailing list