Re: Write Unicode characters to HTML
Re: Write Unicode characters to HTML
- Subject: Re: Write Unicode characters to HTML
- From: Emile Schwarz <email@hidden>
- Date: Tue, 10 May 2005 17:42:45 +0200
> (ASCII character 215) & (ASCII character 144) gets me the LITERAL characters
If you look at what you write above and get an ASCII table from a good source,
you will see that the ASCII table start at 0 and ends at 127.
Everything that is greater than 127 (so 128 to ???) is not in the ASCII table
even if you (can) find some web site that said the opposite (I found some).
And for the html way of writing special characters, why don't you go to the html
language 'owner' (w3c: World Wide Web Consortium) to see what they told about that ?
Here:
http://www.w3.org/International/tutorials/tutorial-char-enc/en/all.html#Slide0420
for example, you will found some usefull informations.
[That page will take time to be downloaded...]
If this is not the exact page to get the information, after a simple (not so
simple...) search in that area will gives you the right key.
<quote>
http://www.w3.org/International/
HTML 4 provides a number of features for use with a wide variety of languages
and writing systems. For instance, mixed language text, and right-to-left and
mixed direction text. HTML 4 is formally based upon Unicode, but allows you to
store and transmit documents in a variety of character encodings.
</quote>
HTH,
Emile
PS: there is AFAIK two ways of writing an encoding:
a. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> and type
the text you want...
b. use a 'balise' just like: á (to take the decimal example) or á
(hexa example from the same location) [is this the same as á ? lowercase
a with an acute accent ?].
at last, type the letter you need its code into an html file name, load it in
you browser and ger the code from the URL line ;)
email@hidden wrote:
From: Gnarlodious <email@hidden>
Subject: Write Unicode characters to HTML
To: Applescript <email@hidden>
Message-ID: <BEA57D23.1755%email@hidden>
Content-Type: text/plain; charset="UTF-8"
Could someone tell me how to write Unicode characters into an HTML file?
If I paste 'א' into Tex-Edit (which doesn't support Unicode yet) I get the
letter "alef" in my browser (UTF-8). However scripting these 2 characters as
(ASCII character 215) & (ASCII character 144) gets me the LITERAL characters
in my browser! In the Tex-Edit document they render as א.
What is going on here? Is there some primer I need on the subject?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden