2008/9/11 Willem Moors <[EMAIL PROTECTED]>:
> On Wed, Sep 10, 2008 at 7:55 PM, Steve Ochani <[EMAIL PROTECTED]> wrote:
>
>> Hmm odd.
>>
>> I tried it on my Redhat test server and worked fine also.
>>
>> Is your tomcat 6 install a default/fresh install?
>>
>> What browser are you using? What character encoding does it think the
>> HelloWorldExample
>> output is coming in as?
>>
>
> Odd indeed!
>
> The tomcat6 install is from a fresh install. The browser I'm using is FF3.
>
> Really, apart from Tomcat 5.5 and 6, all else is equal: it's the same app
> (same war-file), running on the same hardware using exactly the same java.
> And to display the app I use one and the same browser (with different tabs)
> but still my application gives this difference:
> http://www.laadruim.com/issue/comparison_currrency_problem.png
> (I don't know if it's proper to use attachments in posting to this list, so
> I made the pic available on that URL).
>
> Willem
>

1. What the _Browser_ thinks about encoding of your page.

In menu View > Encoding > what encoding is auto-selected there.

2. In Page Info dialog of Firefox
(in Tools menu or in context menu > Page Info )

what is Encoding, Content Type, and what META tags are mentioned (does
it include Content-Type tag)

(disclaimer: I have a localized version of FF, so the above names are
translated ones).

3. Save both pages as HTML (choose "HTML only" format when saving), and compare
their text.

Is there any difference?

4. Well, &pound; (notice the trailing ';'), or better &#163; should
display the pound sign
irregardless of what encoding the browser thinks that your page uses.

Use the &#..; notation if generic xml processing is involved (the
&pound; entity is defined
for (X)HTML only).

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to