A challenge to the ASCII proponents.

Hallvard B Furuseth (nospam nospam) h.b.furuseth at usit.uio.no
Fri Jul 18 09:30:32 CEST 2003


Oren Tirosh wrote:
>On Fri, Jul 18, 2003 at 03:11:56AM +0000, Bengt Richter wrote:

>> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-8859-7">

Needs to be charset=utf-8.  iso-8859-7 has no character number 947.

>> <h1>&#947;(...)

> Actually, you don't need the "CHARSET=iso-8859-7". It would be
> required if you used the bytes 227, 223, 227, 237, 249, 243, 234, 249
> to represent the characters. With numeric character references you can
> embed any character from the UCS repertoire regardless of the charset
> used.

&#<num>; seems to mean character number NUM in the current character
set, not in UCS.  At least on NS 4.79.

-- 
Hallvard




More information about the Python-list mailing list