Please help MySQL and multilanguage

titan82 Messages postés 4 Date d'inscription lundi 25 février 2008 Statut Membre Dernière intervention 22 mai 2008 - 22 mai 2008 à 02:27
Farfadh Messages postés 68 Date d'inscription dimanche 1 avril 2007 Statut Membre Dernière intervention 7 juillet 2008 - 7 juil. 2008 à 04:02
i have to do an application in j2ee multilanguage.
jsp contains information both in arabic and french as a form.
i can fill the jsp in arabic and french without problem.
but when i display data i recover some ??%$& caracters only in
arabic words.
when i verify my DB i find in arabic fields some ??%$&. but when i
insert the arabic data manually in DB and run my jsp i can see the
arabic data shown correctly without problem.
so the problem is inserting arabic data in DB by dynamic jsp !!
i'm a beginner in j2EE
a friend tell me that the problem exists in tomcat configuration.

IDE is netbeans 5.5
apache tomcat 5.5
mysql server 2005 querry

the default encoding in MYSQL is set UTF-8
the head of jsp is
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
i"ve also tried windows-1256
please help me i have to solve this problem quikly

thanks and sorry for my bad english

1 réponse

Farfadh Messages postés 68 Date d'inscription dimanche 1 avril 2007 Statut Membre Dernière intervention 7 juillet 2008 4
7 juil. 2008 à 04:02
Well, it seems like your problem is not related to MySQL which apparently receives bad data. Check the requests of your application when it tries to do an INSERT or an UPDATE, and ask help on an appropriate forum.
0
Rejoignez-nous