Thread: MySql & Hebrew
View Single Post

   
  #2 (permalink)  
Old 04-17-2008, 05:09 PM
Rik Wasmus
 
Posts: n/a
Default Re: MySql & Hebrew

On Wed, 16 Apr 2008 14:25:12 +0200, Mr. X.
<no_spam_please@nospam_please.com> wrote:

> Hello.
> I have problem in showing sql results in Squirrel eighter on java code.
> (connection string is : jdbc:mysql://localhost/mydb )
>
> select 'אבג'
> (can you see Hebrew ?).
>
> I see that the result in Squrrel eighter on java code is ??? (three
> question remarks).
>
> How can I solve the above ?


The question is where it goes wrong. It might be with MySQL, but also
further on in your application itself. Usually a SET NAMES here is enough,
see <http://dev.mysql.com/doc/refman/5.0/en/charset-connection.html>.
--
Rik Wasmus
Reply With Quote