The result is 重复 instead of chinese characters
-----Original Message----- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 7:25 PM To: Tag Libraries Users List Subject: Re: JSTL <c:set> question What happens with either: <c:set var="r" value="${param.content}"/> or: <c:set target="${rtb}" property="mymethod" value="${param.content}"/> Quoting Mark Goking <[EMAIL PROTECTED]>: > > > My problem with jstl is the <c:set> storing unicode characters. > > Outputting let's say chinese characters from a form post , this code > outputs it correctly > > <c:out value="${param.content}" escapeXml="false"/> > > > However, storing this in a variable will result in its html equivalent > like 重复 instead of chinese characters > > I tried this but the result is still the same > > <c:set var="r"><c:out value="${param.content}" > escapeXml="false"/></c:set> > <c:out value="${r}"/> > > I even used the param.content as parameter of a bean rather than > storing it in a jstl variable and the result is also the same. > <c:set target="${rtb}" property="mymethod"><c:out > value="${param.content}" escapeXml="false"/></c:set> > > Any ideas? > Thanks -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]