On Thu, Sep 11, 2008 at 11:35 AM, Mark Hagger <[EMAIL PROTECTED]>wrote:

> You are almost certainly having a problem with (default) character
> encodings on your system, usual things to check are the encoding that
> the JVM is using, for example what does:
>
> echo $LANG
>
> return (usually controlled by what's defined in /etc/sysconfig/i18n -
> although I'm not familiar with Ubuntu systems).


echo $LANG gives me this:
en_US.UTF-8




> The most likely thing is that the tomcat servlet is effectively
> generating content in UTF-8, and then trying to return this character to
> the end client, via a PrintWriter, in ISO1 where the currency symbol in
> use is not supported by ISO1, hence the '?'.  Alternatively tomcat is
> returning either ISO1 or UTF-8 characters but not declaring them as such
> in its response headers, leaving the browser confused and its choosing
> the wrong "default".  Be useful to know what headers tomcat is returning
> really.

But then, it would be the same issue for tomcat 5.5, no ? And there it
doesn't go wrong...
Like stated earlier: I rather think it has something to do with the Tomcat 6
configuration, because all else is equal: same server with same java / same
webapp / same client(FF4) / .. only in Tomcat 5.5 it does work, and in
Tomcat 6 it doesn't.

Thanks for your reply, Mark!

Regards,

Willem

Reply via email to