The Microsoft characters are encoded in CP-1252 (http://en.wikipedia.org/wiki/Windows-1252).
However, if the problem is the database-driven content, then you also need to consider the encoding that the dB is using. For example, MySQL might by default use latin1 (ISO-8859-1), so your data might be "corrupted" before it is even seen by Tomcat. So be careful -- you might have to go deeper than just the Tomcat encoding. BTW, in our application we solved the same problem by catching the data before it is saved to the dB, converting any CP-1252 characters into reasonable latin-1 characters. It is not the perfect solution, but is enough for our clients. Good luck, -- Dave Cherkassky VP of Software Development DJiNN Software Inc. 416.504.1354 On 27/08/2010 1:23 PM, laredotornado wrote:
Hi, I'm using Tomcat 6.0.26. I'm noticing that when our JSPs pages are served, we frequently have "?"s where apostrophes should be. We think this is because the database-driven content contains the Microsoft style apostrophe. My question is, if I adjust the character encoding on Tomcat, will it serve the MS character instead of a question mark? I read the default encoding is ISO-8859-1, which I thought would include this mystery character, but apparently it doesn't. Do you know what encoding I should use and where I should set it? Thanks, - Dave
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org