[jboss-user] [Beginners Corner] - Encoding in Hypersonic database

dapissarenko do-not-reply at jboss.com
Fri Jul 28 12:14:07 EDT 2006


Hello!

I want to use JBoss with Hypersonic Database.

I've created a couple of JSP pages and servlets, using which the user can enter data into the database via EJBs with container-managed persistence.

Some of the web pages are used for entering string data into the database.

It works fine as long as the string are US English.

However, when I try to enter Cyrillic or German characters, a problem occurs. When those strings are read from the database, they are displayed incorrectly (both Cyrillic letters and German umlauts).

All web pages have UTF-8 encoding, which is set in the header:

<?xml version="1.0" encoding="UTF-8" ?>

I would like to know where and how I can configure the encoding of the database.

TIA

Dmitri Pissarenko

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

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



More information about the jboss-user mailing list