473,387 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

encoding in utf-8

Strange problem,

Web pages encoded in utf-8 are appearing on customers' browsers as
iso-western european. This means that characters like the British £ symbol
get messed up. No amount of tinkering with browser settings or the server
settings has helped. Any ideas what the root of the problem might be?

The page in question is www.itchy-coo.com (displays fine on my browser, and
other North American browsers, seemingly). I'd appreciate knowing if other
people see the problem that my clients see.

I use <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> in
the html head. Is there a better way of signifying the encoding without
haveing to upgrade the website to XHTML?

Other pages on the same server encoded in utf-8 display ok. Wierd eh? Or am
I missing something obvious?

Thanks
Roland Tanner
Jul 24 '05 #1
9 5775
Els
Joe Blow wrote:
Strange problem,

Web pages encoded in utf-8 are appearing on customers' browsers as
iso-western european. This means that characters like the British £ symbol
get messed up. No amount of tinkering with browser settings or the server
settings has helped. Any ideas what the root of the problem might be?

The page in question is www.itchy-coo.com (displays fine on my browser, and
other North American browsers, seemingly). I'd appreciate knowing if other
people see the problem that my clients see.

I use <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> in
the html head. Is there a better way of signifying the encoding without
haveing to upgrade the website to XHTML?

Other pages on the same server encoded in utf-8 display ok. Wierd eh? Or am
I missing something obvious?


What code are you using for the pound signs in the original HTML?
£ or &pound; ?

View source shows a ? here. Could it be that you copy pasted code in
an editor that isn't set to use utf-8?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Various Artists - Everything Is O.K. With Me - Boaz
Shar`abi
Jul 24 '05 #2
Els wrote:
Joe Blow wrote:
Web pages encoded in utf-8 are appearing on customers' browsers as
iso-western european. This means that characters like the British £ symbol
get messed up.
www.itchy-coo.com


View source shows a ? here.


I see ? on other characters, too, like the em/en dash used in the age
ranges on http://www.itchy-coo.com/primary.html.

Change the character encoding to iso-8859-1 and everything displays
normally.

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
Jul 24 '05 #3

"Els" <el*********@tiscali.nl> wrote in message
news:1h*****************************@40tude.net...
Joe Blow wrote:
Strange problem,

Web pages encoded in utf-8 are appearing on customers' browsers as
iso-western european. This means that characters like the British £
symbol
get messed up. No amount of tinkering with browser settings or the server
settings has helped. Any ideas what the root of the problem might be?

The page in question is www.itchy-coo.com (displays fine on my browser,
and
other North American browsers, seemingly). I'd appreciate knowing if
other
people see the problem that my clients see.

I use <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
in
the html head. Is there a better way of signifying the encoding without
haveing to upgrade the website to XHTML?

Other pages on the same server encoded in utf-8 display ok. Wierd eh? Or
am
I missing something obvious?


What code are you using for the pound signs in the original HTML?
£ or &pound; ?

View source shows a ? here. Could it be that you copy pasted code in
an editor that isn't set to use utf-8?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Various Artists - Everything Is O.K. With Me - Boaz
Shar`abi


That could be it. The editor (AceHTML) does have settings for different
encodings, but it is a bit glitchy. It also changes &#163 and &pound to £ in
the editor, which is an irritation.

Many thanks
Roland
Jul 24 '05 #4
Once upon a time *Joe Blow* wrote:
"Els" <el*********@tiscali.nl> wrote in message
news:1h*****************************@40tude.net...
Joe Blow wrote:
Strange problem,

Web pages encoded in utf-8 are appearing on customers' browsers as
iso-western european. This means that characters like the British £
symbol
get messed up. No amount of tinkering with browser settings or the server
settings has helped. Any ideas what the root of the problem might be?

The page in question is www.itchy-coo.com (displays fine on my browser,
and
other North American browsers, seemingly). I'd appreciate knowing if
other
people see the problem that my clients see.

I use <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
in
the html head. Is there a better way of signifying the encoding without
haveing to upgrade the website to XHTML?

Other pages on the same server encoded in utf-8 display ok. Wierd eh? Or
am
I missing something obvious?


What code are you using for the pound signs in the original HTML?
£ or &pound; ?

View source shows a ? here. Could it be that you copy pasted code in
an editor that isn't set to use utf-8?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Various Artists - Everything Is O.K. With Me - Boaz
Shar`abi


That could be it. The editor (AceHTML) does have settings for different
encodings, but it is a bit glitchy. It also changes &#163 and &pound to £ in
the editor, which is an irritation.


Very strange, I have used AceHTML 5 (free edition) for a long time and
made pages with utf-8 encoding (e.g. http://hem.bredband.net/arnel/ ).
Never have problems with it.

At least some of your encoding problems is the js files (e.g.
"wordofday.js"). Have you write (and saved) them also in AceHTML with
the utf-8 encoding?

--
/Arne

Top posters will be ignored. Quote the part you
are replying to, no more and no less! And don't
quote signatures, thank you.
Jul 24 '05 #5
On Mon, 16 May 2005, Joe Blow wrote:
Strange problem,
Prima facie the symptoms look like the usual problem, discussed at
http://www.w3.org/International/O-HTTP-charset
I use <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> in
the html head. Is there a better way of signifying the encoding
Yes, as the real HTTP header from the server, as the W3C note tells
you,
I missing something obvious?


You seem to have fixed it now? The server is sending charset=utf-8
in its real HTTP response headers by the time that I got to see this.

Jul 24 '05 #6
"Alan J. Flavell" <fl*****@ph.gla.ac.uk> wrote in message
news:Pi*******************************@ppepc56.ph. gla.ac.uk...
On Mon, 16 May 2005, Joe Blow wrote:
Strange problem,


Prima facie the symptoms look like the usual problem, discussed at
http://www.w3.org/International/O-HTTP-charset
I use <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
in
the html head. Is there a better way of signifying the encoding


Yes, as the real HTTP header from the server, as the W3C note tells
you,
I missing something obvious?


You seem to have fixed it now? The server is sending charset=utf-8
in its real HTTP response headers by the time that I got to see this.


Many thanks for all your comments. I have fixed it. AceHTML was adding in a
line <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> in
an automated fashion, but saving as ISO. The weird thing was that everybody
who looked at it in my part of the world (Canada) saw the correct display
(from the server HTTP headers, which were in fact set), while everybody in
Europe saw a mess.

I've been using AceHTML for years, and have always liked it, but the latest
version is full of bugs and crashes. Can anyone suggest a better text editor
with a similar feature list, and either free of very cheap?

Alan Flavell - I used to work at Glasgow university by the way, in the
history department.

Best wishes
Roland
Jul 24 '05 #7
Gazing into my crystal ball I observed "Joe Blow" <Jo*@Blow.com> writing
in news:_f****************@read1.cgocable.net:
I've been using AceHTML for years, and have always liked it, but the
latest version is full of bugs and crashes. Can anyone suggest a better
text editor with a similar feature list, and either free of very cheap?


I used Ace for a long time, too, and then I found HTML-Kit
<http://www.chami.com/html-kit> and I like it a lot better.

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Jul 24 '05 #8
On Tue, 17 May 2005 05:33:34 GMT, Adrienne <ar********@sbcglobal.net>
wrote:
Gazing into my crystal ball I observed "Joe Blow" <Jo*@Blow.com> writing
in news:_f****************@read1.cgocable.net:
I've been using AceHTML for years, and have always liked it, but the
latest version is full of bugs and crashes. Can anyone suggest a better
text editor with a similar feature list, and either free of very cheap?


I used Ace for a long time, too, and then I found HTML-Kit
<http://www.chami.com/html-kit> and I like it a lot better.


You should be an agent for them, Adrienne. It's a bit complicate for
the newbies, though.

BB
--
www.kruse.co.uk/ se*@kruse.demon.co.uk
seo that watches the river flow...
--
Jul 24 '05 #9
Gazing into my crystal ball I observed Big Bill <kr***@cityscape.co.uk>
writing in news:pt********************************@4ax.com:
On Tue, 17 May 2005 05:33:34 GMT, Adrienne <ar********@sbcglobal.net>
wrote:
Gazing into my crystal ball I observed "Joe Blow" <Jo*@Blow.com> writing
in news:_f****************@read1.cgocable.net:
I've been using AceHTML for years, and have always liked it, but the
latest version is full of bugs and crashes. Can anyone suggest a better
text editor with a similar feature list, and either free of very cheap?


I used Ace for a long time, too, and then I found HTML-Kit
<http://www.chami.com/html-kit> and I like it a lot better.


You should be an agent for them, Adrienne. It's a bit complicate for
the newbies, though.


Actually, for the OP, it should fit like an old glove, albeit, an old glove
with new enhancements.

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Jul 24 '05 #10

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

Similar topics

48
by: Zenobia | last post by:
Recently I was editing a document in GoLive 6. I like GoLive because it has some nice features such as: * rewrite source code * check syntax * global search & replace (through several files at...
43
by: Vladimir | last post by:
Method UnicodeEncoding.GetMaxByteCount(charCount) returns charCount * 2. Method UTF8Encoding.GetMaxByteCount(charCount) returns charCount * 4. But why that? Look: /* Each Unicode character...
6
by: jmgonet | last post by:
Hello everybody, I'm having troubles loading a Xml string encoded in UTF-8. If I try this code: ------------------------------ XmlDocument doc=new XmlDocument(); String s="<?xml...
8
by: Demon News | last post by:
I'm trying to do a transform (Using XmlTransform class in c#) and in the Transform I'm specifying the the output xsl below: <xsl:output method="xml" encoding="UTF-8" indent="no"/> the...
4
by: Mark | last post by:
Hi... Just noticed something odd... In old ASP if you had query parameters that were invalid for their encoding (broken utf-8, say), ASP would give you back chars representing the 8-bit byte...
2
by: lprisr | last post by:
Hi, I have double byte characters in the content that I am returning using Web Services. However, the encoding in the xml file returned by Web Services is utf-8 and I am unable to read the...
4
by: shreshth.luthra | last post by:
Hi All, I am having a GUI which accepts a Unicode string and searches a given set of xml files for that string. Now, i have 2 XML files both of them saved in UTF-8 format, having characters...
3
by: mortb | last post by:
1. How do I determine which encoding a xmldocument or xmlreader uses when opening a document? I'm not just talking about the <?xml encoding="utf-8"?attribute, but the actual encoding of the...
23
by: Allan Ebdrup | last post by:
I hava an ajax web application where i hvae problems with UTF-8 encoding oc chineese chars. My Ajax webapplication runs in a HTML page that is UTF-8 Encoded. I copy and paste some chineese chars...
8
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.