At 03:59 PM 2/19/03 +0100, Carlos Godoy wrote: >I have changed Jserv to Tomcat. >I'm in trouble with special characters and I dont't know where is the >problem. > >All the special characters that servlet writes to the web page are changed >by a '?' character. > >I add the useUnicode & characterEncoding parameters of mm.mysql.Driver. >With this solution the resultsets of database selects shows specials >characters correctly. > >But I still havent found the solution for strings that don't come from >database and, with db columnames with special characters. > >Anybody can help me?
Carlos, This is just a guess, but check the default encoding that your browser uses. I'll bet it's something other than unicode. My solution to this problem is to check for special characters and substitute the appropriate html entity or code before displaying the text. That way I don't need to worry so much about the user's browser not being able display the encoding. I found this page to be very useful... http://www.webenalysis.com/special-characters.asp I hope this helps. Cindy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
