-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Char encoding problem
PostPosted: Fri Jun 03, 2005 4:23 am 
Newbie

Joined: Fri Jun 03, 2005 4:07 am
Posts: 1
Hello all!

I have a problem related to char encoding when saving objects to database. I'm using Hibernate v2, MySQL 4.1.12, Tapestry and Mac OS X 10.4.

The database is using default char encoding (latin1). There is no problem at all when I get objects from database, but when I save them I'm in trouble.

I have a table with users, with the user name, and firstname. The application is in spanish, so it's not difficult to find names like "Expósito" or "Núñez". When I obtain an user from de db with this non-standard characters, the complete name is ok. The application shows the correct thing. But when I update those objects (an sql update is issued to the databse), the international chars (ñ, á, é, í, etc.) are being replaced by other rare chars (like "-, _, etc.).

I would be grateful if you could help.
Thanks in advance!

_________________
PrODIcaL ;)


Top
 Profile  
 
 Post subject: Did u resolve this int'l char encoding problem?
PostPosted: Fri Jan 20, 2006 1:46 am 
Newbie

Joined: Fri Jan 20, 2006 1:26 am
Posts: 3
Hi prodical:

Did u resolve this int'l char saving problem? I'm facing this problem too trying to save foreign chars. I posted my problem here http://forum.hibernate.org/viewtopic.php?t=954348.

If u have new insights, please share. Thanks.

AL


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.