Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2006

Tip: Looking for answers? Try searching our database.

SQL request returns incorrect french characters

Thread view: 
hagar - 02 Nov 2006 16:34 GMT
I am creating a JSP page that queries a database that contain french
characters.  The query works fine and records are returned with the
following request:

AND DESIGNATION_FR = "Zone d'utilisation générale"

However somewhere between the response to the query and passing the
information to the browser the e's with the accents get altered as
such:

"Zone d'utilisation ginirale"

I imagine this is some sort of character set issue.  Has any resolved
this sort of thing?
Tom Forsmo - 02 Nov 2006 16:46 GMT
> I am creating a JSP page that queries a database that contain french
> characters.  The query works fine and records are returned with the
[quoted text clipped - 10 lines]
> I imagine this is some sort of character set issue.  Has any resolved
> this sort of thing?

I have experienced some problems with character sets in DBs, not the
exact same problem, but still. My suggestion is to check that the
character set is the same in the db config, the table, the connection,
the application and the web page. If they are not the same you might
want to try to apply a conversion, for example at the connection. In
addition you might want to check that the data in the database is of the
correct character set.

tom


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.