Re: Notepad and UTF-8
- From: Eric Lindsay <NOwebmasterSPAM@xxxxxxxxxxxxxxx>
- Date: Fri, 14 Mar 2008 06:44:05 +1000
In article
<Pine.GSO.4.63.0803131832170.14921@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Andreas Prilop <aprilop2008@xxxxxxxxxxxxx> wrote:
On Thu, 13 Mar 2008, Ben C wrote:
Better to use a Content-Language header and/or set the lang attribute on
the html element to tell the browser the language so it can use that as
a hint to pick a font.
But that does not work in Internet Explorer. It works in Mozilla & Co.
http://www.unics.uni-hannover.de/nhtcapri/temp/lang-attribute.htm
How about others like Opera?
How do you even tell what characters are in the source of a page?
Each browser I try seems to have its own variation of what a page
contains.
For example, in Safari, in the title element of a commercial site
http://mecu.com.au I see a question mark on a black background between
"- " and " home". I do not see that in Opera or Firefox. The page in
question includes a meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1", however the server does not seem to provide a
charset.
curl -I http://mecu.com.au
HTTP/1.1 200 OK
Date: Thu, 13 Mar 2008 20:25:59 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 26406
Content-Type: text/html; Charset=,
Set-Cookie: ASPSESSIONIDASAQCRTB=NGJFGNAAPHDIMMHKOEJHEJDP; path=/
Cache-control: private
curl http://mecu.com.au
echo mecu - intelligent banking - ?home | hexdump
0000000 6d 65 63 75 20 2d 20 69 6e 74 65 6c 6c 69 67 65
0000010 6e 74 20 62 61 6e 6b 69 6e 67 20 2d 20 3f 68 6f
0000020 6d 65 0a
Source from Safari 3.0.4
echo mecu - intelligent banking - ??home | hexdump
0000000 6d 65 63 75 20 2d 20 69 6e 74 65 6c 6c 69 67 65
0000010 6e 74 20 62 61 6e 6b 69 6e 67 20 2d 20 ef bf bd
0000020 68 6f 6d 65 0a
Source from Firefox 2.0.0.10
echo mecu - intelligent banking - home | hexdump
0000000 6d 65 63 75 20 2d 20 69 6e 74 65 6c 6c 69 67 65
0000010 6e 74 20 62 61 6e 6b 69 6e 67 20 2d 20 68 6f 6d
0000020 65 0a
Source from Opera 9.5 beta
echo mecu - intelligent banking - ?home | hexdump
0000000 6d 65 63 75 20 2d 20 69 6e 74 65 6c 6c 69 67 65
0000010 6e 74 20 62 61 6e 6b 69 6e 67 20 2d 20 c2 a0 68
0000020 6f 6d 65 0a
--
http://www.ericlindsay.com
.
- Follow-Ups:
- Re: Notepad and UTF-8
- From: Ben C
- Re: Notepad and UTF-8
- From: dorayme
- Re: Notepad and UTF-8
- References:
- Notepad and UTF-8
- From: The Bicycling Guitarist
- Re: Notepad and UTF-8
- From: Andy Dingley
- Re: Notepad and UTF-8
- From: The Bicycling Guitarist
- Re: Notepad and UTF-8
- From: Andy Dingley
- Re: Notepad and UTF-8
- From: David Trimboli
- Re: Notepad and UTF-8
- From: Jukka K. Korpela
- Re: Notepad and UTF-8
- From: Andreas Prilop
- Re: Notepad and UTF-8
- From: Ben C
- Re: Notepad and UTF-8
- From: Andreas Prilop
- Notepad and UTF-8
- Prev by Date: Re: Notepad and UTF-8
- Next by Date: Re: Notepad and UTF-8
- Previous by thread: Re: Notepad and UTF-8
- Next by thread: Re: Notepad and UTF-8
- Index(es):
Relevant Pages
|
Loading