We help IT Professionals succeed at work.

How to Store Greek statements into MySQL DB using JSP

massrico
massrico asked
on
Medium Priority
459 Views
Last Modified: 2008-03-17
HI

I try to storing Greek into MySQL DB but all I get into DB is ???????????? :(

I added to my connection string "useUnicode=true&characterEncoding=UTF-8" and my DB is UTF-8 encoding
when i enter the data directly into my db it inserted 100% right and retrive it into my page 100% right.

but the problem is when storing the data into my DB :(

Thanx
Comment
Watch Question

Commented:
hi,

characterEncoding parameter is enough. Remove the useUnicode paramerer, as far as i know it was before version 4.1 that it was used.

May be u better set the default character set of the mysql to "utf8". Change it, restart the mysql server and see if it helps.

fargo

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
THAAAAAAAAAAANX FARGO
:)
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.