Thank you

The problem was that I had:

useUnicode=yes&characterEncoding=utf8

 

instead of:

 

useUnicode=yes&characterEncoding=utf8

 

in the url

 

From: Nicholoz Koka Kiknadze [mailto:kikna...@gmail.com] 
Sent: Tuesday, July 14, 2009 10:13 PM
To: user-java@ibatis.apache.org
Subject: Re: problem with insert

 

Try this thread:

http://www.mail-archive.com/user-java@ibatis.apache.org/msg13497.html

Seems similar problem was solved there

GL

On Tue, Jul 14, 2009 at 11:00 PM, Odelya YomTov <ode...@jpost.com> wrote:

Hi!

It's not the problem with the log file encoding.

It's something is the connection between ibatis and mysql

 

 

From: Nicholoz Koka Kiknadze [mailto:kikna...@gmail.com] 
Sent: Tuesday, July 14, 2009 9:52 PM
To: user-java@ibatis.apache.org
Subject: Re: problem with insert

 

Is it possible that you just did not set your log file encoding? Kind of

log4j.appender.someappender.Encoding=UTF-8

 

 

On Tue, Jul 14, 2009 at 8:40 PM, Odelya YomTov <ode...@jpost.com> wrote:

Hi!

I am trying to insert data in Hebrew into the database

The table is set to utf-8.

But in the log file I see:

DEBUG [http-12091-Processor24] - Created connection 27901603.
DEBUG [http-12091-Processor24] - {conn-100000} Connection
DEBUG [http-12091-Processor24] - {pstm-100001} PreparedStatement:      SELECT   
   *     FROM users     WHERE NAME = ? AND PASSWORD = ?
DEBUG [http-12091-Processor24] - {pstm-100001} Parameters: [×ž× ×”×œ, ×ž× 
הלילקוט]
DEBUG [http-12091-Processor24] - {pstm-100001} Types: [java.lang.String, 
java.lang.String]
DEBUG [http-12091-Processor24] - {rset-100002} ResultSet
DEBUG [http-12091-Processor24] - Returned connection 27901603 to pool.

Which means that I receive rubbish.

What can I do to handle it?

My browser reads Hebrew all right (I wrote something in struts and I see that 
the messages that I get back for the user are in Hebrew)




---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org
For additional commands, e-mail: user-java-h...@ibatis.apache.org





************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer 
viruses.
************************************************************************************





************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer 
viruses.
************************************************************************************

Reply via email to