ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicholoz Koka Kiknadze <kikna...@gmail.com>
Subject Re: problem with insert
Date Tue, 14 Jul 2009 18:52:26 GMT
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 <odelya@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-unsubscribe@ibatis.apache.org
> For additional commands, e-mail: user-java-help@ibatis.apache.org
>
>

Mime
View raw message