So I have been prototyping stuff for a project in struts and I decided on a whim to see how well it handled unusual international text. So I swapped over to a Turkish keyboard which produces several quite unusual characters and typed in a couple place names I know give most programs fits because they contain a capital dotted I which looks like this: I. (set your encoding to Turkish if necessary to view it, it should look like a capital i with a dot above it)

What I got back when the results of the form entry were displayed was İ

I am pleased to see that nothing in struts, or elsewhere in my program actually died but it would be just slightly cooler if it actually came back with İ (which renders correct, at least in Mozilla). The problem is that İ appears to be what is stored in the database, (MySQL 4.0) and it gets re-escaped on the way back out. (the MySQL shell does funny things with the double dotted u (ü)and c (ç) with circumflex but those are at least recorded straight up, and not escaped in either direction. I did some searching and found this:

http://www.faqchest.com/prgm/tomcat-l/tmct-01/tmct-0111/tmct-011153/tmct01112715_24444.html

but that didn't seem to solve the problem. I'm sure this has been solved already, I just can't find it. Support for turkish or for that matter any other language is not critical to my project but if there is a not too painful solution it would be nice to drop it in.

-Gus



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to