473,480 Members | 1,945 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Forcing the URL encoding type

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
Jul 20 '05 #1
1 2706
John wrote:

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).

--
Klaus Johannes Rusch
Kl********@atmedia.net
http://www.atmedia.net/KlausRusch/
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

38
2815
by: lawrence | last post by:
I'm just now trying to give my site a character encoding of UTF-8. The site has been built in a hodge-podge way over the last 6 years. The validator tells me I've lots of characters that don't...
4
8808
by: fitsch | last post by:
Hi, I am trying to write a generic RSS/Atom/OPML feed client. The problem is, that those xml feeds may have different encodings: - <?xml version="1.0" encoding="ISO-8859-1" ?>... - <?xml...
8
7558
by: Xarky | last post by:
Hi, I am downloading a GIF file(as a mail attachement) with this file format, Content-Transfer-Encoding: base64; Now I am writing the downloaded data to a file with this technique: ...
6
1889
by: MattC | last post by:
Hi, If I add the following line to Application_BeginRequest Request.Headers.Add("Accept-Encoding", "gzip"); Will this cause the server to utilise IIS6.0 Compression even if the client is...
0
810
by: RD | last post by:
I create an XML file using the Mydataset.writexml and that works fine but I need to associate this XML with a Style sheet I have created and need to do it automatically in my code. I don't see any...
5
1270
by: Nikola Skoric | last post by:
Is there a way to tell the interpreter to display exceptions, even those which were captured with except? -- "Now the storm has passed over me I'm left to drift on a dead calm sea And watch...
4
3645
by: ATS16805 | last post by:
Hi. I wonder if it's possible to "force" a browser to "switch to SSR mode" for any given document. Specifically, I'm looking for a solution, not to a User Agent issue (i think), but a coding idea;...
8
2663
by: Erwin Moller | last post by:
Hi group, I could use a bit of guidance on the following matter. I am starting a new project now and must make some decisions regarding encoding. Environment: PHP4.3, Postgres7.4.3 I must...
14
4481
by: Irfan12 | last post by:
i dont know php & i want a script that when a user click on a mp3 hyperlink, the mp3 file start downloading instead of start playing in media player. i got a sxript from internet search. i am using...
0
7033
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6903
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6726
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6861
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5318
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
2987
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1291
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
557
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
170
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.