943,983 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Unsolved
  • Views: 2873
  • JSP RSS
Nov 28th, 2006
0

Inserting uft8 strings into MySQL from jsp page

Expand Post »
Hi...

Ok I have created a form which posts data into a mysql database. I can then read that data from the database with another page.

I am trying to add russian text to the database... it says it has been added but it comes back as ?????

I can use PHPAdmin to add russian text and it is displayed properly on my JSP page.

So im guessing i am missing something in my insert statement...

sql = dbconn.prepareStatement("INSERT INTO property VALUES ('" + ref + "');");

text that doesnt come from the database also displays correctly.

its mysql 4.1+

any help would be great!

thanks.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
krismac is offline Offline
1 posts
since Nov 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: jsp tutorial
Next Thread in JSP Forum Timeline: hello every one!!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC