users@glassfish.java.net

Re: UTF-8 in JDBC principal name?

From: <glassfish_at_javadesktop.org>
Date: Thu, 15 Apr 2010 01:00:13 PDT

No, I did not change anything. But the garbled log entry [i]may[/i] be caused by the
text editor that viewed server.log; it probably didn't realize that the file was coded UTF-8. So that may be a red herring.

No, adding enctype="UTF-8" to my login <form> does not help. All my <form>s send UTF-8, because my web.xml specifies

 <jsp-config>
      <jsp-property-group>
         <url-pattern>*.jsp</url-pattern>
         <page-encoding>UTF-8</page-encoding>
      </jsp-property-group>
   </jsp-config>

so I don't have to specify page encoding in [i]each[/i] JSP.
[Message sent by forum member 'tmpsa']

http://forums.java.net/jive/thread.jspa?messageID=397069