I don't know anything about Java, we host a site that has some JSPs. The thing is, i copied the jdk from the another machine and i installed a newer version of Tomcat. The other machine runs 4.0.1 and this one, 5.0.16. So, for example i don't know where to find that java.lang.String that you say.. i suck.. i'm starting to think about learning a bit about it, because i can't be so lost trying to solve this problem.. Something that i've seen that think could help, is that when i access this JSP from the Tomcat 4.0.1 (the one that works okay), lynx says: charset: iso-8859-1, and when i enter the one that shows the question marks it says: charset: iso-8859-1 (assumed).
Thanks for your answer On Mon, 22 Dec 2003 17:19:26 -0500 Vladimer Shioshvili <[EMAIL PROTECTED]> wrote: > Leandro, > > that sounds like an encoding issue either when retrieving the data from the > DB, or when displaying in the jsp. In the jsp page try to use <% page > Content-Type="text/html; charset=iso-8859-1" %>. It is also possible that > String object uses wrong encoding that doesn't include ñ. See API for > java.lang.String for that.. > > Hope this helps, > Vlad > > > At 04:56 PM 12/22/2003, you wrote: > >I have the same website in a Tomcat 4.0.1 server (that i didn't > >configure), and it works ok.. the browser that i used is MSIE. > >BTW, The JSP gets the info from a MySQL database, it's dynamic content. > > > >Does anybody know what to do ? > > > >Regards, > >Leandro Costa > > > >On Mon, 22 Dec 2003 16:51:15 -0500 > >"Hart, Justin" <[EMAIL PROTECTED]> wrote: > > > > > This sounds like a font issue, not a JSP issue. You're probably > > looking at the generated page with a browser that does not have that font > > loaded. > > > > > > Justin > > > > > > -----Original Message----- > > > From: Leandro Costa [mailto:[EMAIL PROTECTED] > > > Sent: Monday, December 22, 2003 4:46 PM > > > To: [EMAIL PROTECTED] > > > Subject: Problem with spanish accents and the 'ñ' char > > > > > > > > > I'm running Tomcat 5.0.16 and a JSP that connects to a MySQL DB. The > > data in the DB is ok, because i fetched that information with a quick php > > application and it displays correctly the accents and such. But when i > > access the information with this JSP, it puts question marks instead of > > those characters. I've seen this problem in some forums out there, but no > > solution... The same JSP is running on a Tomcat 4.0.1 in another machine > > (that i haven't configured), and it displays the accents correctly. > > > Does anybody know what to do ? > > > > > > Regards, > > > Leandro Costa > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > ________________ > Vladimer Shioshvili > > QRC Division of Macro International Inc. > 7315 Wisconsin Avenue, Suite 400W > Bethesda, MD 20814 > > Phone: (301) 657 3077 ext. 155 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]