For those guys out there using postgresql this is how to create a UTF-8 db:


#On linux su to  postgres user
su -c "su -s /bin/sh postgres"

#Create the db user
createuser -d -P -E dbUser



#create the instance
createdb -E UNICODE instance -O dbUser

#To see if it worked:
psql -l

#Results in
 instance             | dbUser     | UTF8

Regards

Louis





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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970010
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to