[jboss-user] [JBoss jBPM] - Re: gpd.xml and utf8
jeffj55374
do-not-reply at jboss.com
Mon Sep 10 10:25:10 EDT 2007
Hi,
I believe the second code suggesting is better. We also do mixed Windows / Unix / Linux development and use UTF-8 encoded files. Java on Windows does not default to UTF-8 but some Windows specific code page so we always have to explicitly specify the encoding of our files and byte streams so that we get identical behavior across platforms.
return new ByteArrayInputStream(
| new String(buffer.toString().getBytes(),"UTF-8");
Thanks,
Jeff
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082636#4082636
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082636
More information about the jboss-user
mailing list