Hello Raphael,
character encoding problems are very ugly in my experience. They are hard
to find by the user, and even harder by remote advice.
The only thing I can advice you is to pluck the process apart, and find out
exactly where the problem sits, e.g. by inserting and retrieving via sql
console as compared to insert by jdbc and retrieving via sql console, and
so on...
One point worth while checking is that the database encoding is such that
it can actually store accentuated characters correctly.
I am quite sure that it is not a Torque problem.
One thing you might want to know for further research is that Torque uses
prepared statements for all inserts.
Thomas
Rapha�l Pi�roni <[EMAIL PROTECTED]> schrieb am 31.03.2005 16:15:36:
> Hello,
>
> I'm currently having some troubles using Torque 3.0 on linux (debian
> stable kernel 2.4.20) with the Sun jdk (1.4.1_07-b02).
>
> I now present the problem :
> i use the maven torque plugin 3.0 to insert sql files in the database
> (when i cat those files, i can see correctly the accentuated
> characters)
>
> then i use junit tests to check the retreiving of values in the
> database
>
> i systematically had the error
> expected <...?> but was <...?>
>
> i know it is an encoding problem, but i cannot figure how to get rid of
> it.
>
> may someone please help me.
>
> Best regards
>
> Rapha�l
>
> ------------------------------------
> | Rapha�l Pi�roni |
> | 33+ 223 351 354 |
> | mailto:[EMAIL PROTECTED] |
> | http://www.dexem.com |
> | mailing:[EMAIL PROTECTED] |
> ------------------------------------
>
>
>
>
>
>
> __________________________________________________________________
> D�couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour
> vos mails !
> Cr�ez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]