Forums Register Login

Adding Special Characters To MySQL DB Using Java

+Pie Number of slices to send: Send
Hi,
I am trying to add occasional special characters (eg, accents, umlauts) to the mysql db and return them successfully. When I try to display the results I get a totally different character.
The weird thing is that when I add it from a textarea and display it, everything is fine. When I add it in a textbox it does not work fine.
Any ideas would be most gratefully appreciated.
Thanks
Mark
+Pie Number of slices to send: Send
What sort of textbox are you talking about? HTML's standard text input or rather an awt component, a swing componenet, etc?
+Pie Number of slices to send: Send
Hi
Thanks for responding....I am using the standard HTML textbox and textarea in my JSP.
Cheers
Mark
+Pie Number of slices to send: Send
So, to clarify...
You're attempting to dump these special characters into a MySQL database via standard HTML controls, ie, text inputs and text areas. When you do so via a text area and then display your text all is well, however, when you do so via a text input...it doesn't work out.
Do I understand your issue before I attempt to duplicate this?
Cory
Run away! Run away! Here, take this tiny ad with you:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2229 times.
Similar Threads
JConnect and Turkish
Editing Special Character
textfield and utf-8 format
Special characters
handling unicode characters in jsp
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 04:00:23.