[jboss-user] [JBoss jBPM] - Re: gpd.xml and utf8

lmichenaud do-not-reply at jboss.com
Mon Sep 10 08:09:12 EDT 2007


Maybe you should not specify the encoding in
the xml header.

I have looked at the designer source code and i have seen
several things like that :

buffer.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
  | buffer.append("\n\n<root-container />");

or maybe you could try to do something like that :

buffer.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
  | buffer.append("\n\n<root-container />");
  | return new ByteArrayInputStream(
  | 	new String(buffer.toString().getBytes(),"UTF-8");

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082581#4082581

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082581



More information about the jboss-user mailing list