HighDots Forums  

Notepad and UTF-8

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss Notepad and UTF-8 in the HTML forum.



Reply
 
Thread Tools Display Modes
  #21  
Old   
Thomas 'PointedEars' Lahn
 
Posts: n/a

Default Re: Notepad and UTF-8 - 05-11-2008 , 04:42 PM






Andreas Prilop wrote:
Quote:
On Wed, 12 Mar 2008, Jukka K. Korpela wrote:
There are two other reasons for using UTF-8 that come to my mind:

There is one reason *not* to use UTF-8. Browsers usually take the
typeface depending on the page's charset. So with charset=iso-8859-5,
the page is displayed in the reader's preferred Cyrillic typeface.
But with charset=utf-8, the page is displayed in the reader's
preferred *Latin* typeface, which might be less suitable.

This reason is even more important for Chinese text.
However, when not using character references as made unnecessary when using
UTF-whatever for the document resource encoding, they pick the most suitable
installed font for displaying the character/glyph at the code point
specified by the respective code unit(s).

Quote:
1) Some fairly old browsers handled character references with
numbers > 255 incorrectly unless UTF-8 was specified.

Actually with number > 127. With charset=iso-8859-5 (for example),
Netscape 4 would display Latin-1 letters written as &#number;
as question mark (?) because the Cyrillic ISO-8859-5 does not
contain Latin-1 letters.
Strange things you do. Leading to the dark side this is.


PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.