[futurebasic] Re: mac 8bit chars -> HTML

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 2001 : Group Archive : Group : All Groups

From: Herbie Gluender <H.Gluender@...>
Date: Mon, 03 Sep 2001 12:16:14 +0200
Dear Jonathan,

the table is nice but the "char"-column depends on the keyboard. For instance,
it won't work with my german one.

Did you try my automatic converter "Ascii2Html" (System Extension) for BBEdit
that uses exacly (hopefully) the information you are giving with your table?

Best,

Herbie
*************************************************
H.Glu@...


You have written:

the following table should be viewed in a monospaced font.
preferably copy in to a spreadsheet and regenerate the chars [column 2] by
doing a chr$( ascii) on column 1 as mail servers and your mail client will
probably grossly deform them.

chars with a value below 256 are latin-1 [ISO-8859-1] coding, chars with a
value above 255 are Unicode [ISO-10646], except for the euro sign which
replaces the currency sign [at least in europe], and thus would necessitate
the use of the latin-9 [sometimes called latin-0] charset [ISO-8859-9].

if you intend to use this table to generate HTML entities, my advice would
be to have a flag and follow these rules
- no euro, no char > 255 -> use latin-1
- euro, no char > 255 -> use latin-9
- chars > 255 -> use ISO-10646, or map to a close char and use latin-1.

where no known correspondence exists [apple] or [filig] for example, i have
included a 'plausible' name for reference, and included a dash for the
entity number. where the chars _must_ exist, but i have been unable to find
them [if you can complete the table, please do!], i have included ??? in the
entity number column. the german punctuation, i am particularly angry at not
being able to find, not even on swiss sites!

remember that named entities are case-sensitive. remember also that hardly
any browser correctly supports all these!

[table was here]