Ant: JspGenerator and Encoding

2001-12-11 Thread Peter Schwenke
I found the problem. I wasn't actually outputing the from my JSP. Fool! ...Peter - Please check that your question has not already been answered in the FAQ before post

Ant: JspGenerator and Encoding

2001-12-11 Thread Bernhard Huber
Hi, you might try to work around in you jsp like that, encoding non-ascii chars to xml #&NNN; form: <% String s1 = "\u041d\u0430\u0433\u043b\u0430\u0432\u043d\u0443\u044e"; String s2 = "ÄÜÖ"; %> <%=encode(s1)%> <%=encode(s2)%> <%! String encode( String s ) { StringBuffer sb = new StringB