[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss to use UTF-8

jimisola do-not-reply at jboss.com
Sun Jun 10 18:41:53 EDT 2007


"kavithak" wrote : Hi,
  | 
  |   Can anybody know how to configure the jboss application server use the utf-8 character encoding instead of the default one.

Hi,

I'm a newbie and I haven't verified this yet. But, I know that it works for a regular web application (war) and also that liferay uses it in its DataSource file:

  | <datasources>
  |   <local-tx-datasource>
  |     <jndi-name>DefaultDS</jndi-name>
  |     <connection-url>jdbc:mysql://localhost:3306/jbossdb?useUnicode=true&characterEnc
  | oding=UTF-8</connection-url>
  |     <driver-class>com.mysql.jdbc.Driver</driver-class>
  |     <user-name>user</user-name>
  |     <password>password</password>
  |     <min-pool-size>5</min-pool-size>
  |     <max-pool-size>20</max-pool-size>
  | 
  |       <metadata>
  |        <type-mapping>mySQL</type-mapping>
  |     </metadata>
  |     </local-tx-datasource>
  | </datasources>

Please let me know if it works.

Regards,
Jimisola

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

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



More information about the jboss-user mailing list