• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 443
  • Last Modified:

How to Store Greek statements into MySQL DB using JSP

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
0
massrico
Asked:
massrico
1 Solution
 
fargoCommented:
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
0
 
massricoAuthor Commented:
THAAAAAAAAAAANX FARGO
:)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now