Forcing the URL encoding type

J

John

Hi All,
is there any way to force the encoding type used by the browser. In my
application special characters need to be displayed and for some
reason if the 'auto-select' is left on in the view->encoding menu then
these are not displayed correctly. For some reason my page also
flickers when this option is left on but i have no idea why this is
happening.

I have tried using
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">

in my jsp page but that doesnt seem to have any effect.

Any help is much appreciated.

Thanks
John
 
K

Klaus Johannes Rusch

John said:
is there any way to force the encoding type used by the browser. In my
application special characters need to be displayed and for some
reason if the 'auto-select' is left on in the view->encoding menu then
these are not displayed correctly. For some reason my page also
flickers when this option is left on but i have no idea why this is
happening.

I have tried using
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">

in my jsp page but that doesnt seem to have any effect.

Try setting the Content-Type as an HTTP header instead (and if you
absolutely have to use the meta tag approach, make sure this is the first
meta tag and preceeds any other tags, text or comments or in the <head>
section).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,077
Messages
2,570,566
Members
47,202
Latest member
misc.

Latest Threads

Top