Re: Character encoding to HTML entities - Swedish oddity
Re: Character encoding to HTML entities - Swedish oddity
- Subject: Re: Character encoding to HTML entities - Swedish oddity
- From: jj <email@hidden>
- Date: Mon, 20 Dec 2004 19:13:41 +0100
>> Guy,
>>
>>> I have the following routines which encode accented characters into
>>> their HTML entities. All works fine for example on an English system.
>>
>> That's certainly not the reply you are expecting, but are you sure
>> that it would not be better for you to switch to UTF-8? You would
>> write your accented characters as they are, the only change is that
>> you have to declare "UTF-8" as the encoding.
>>
>> Here in France we do have big problems of accented characters like
>> you have, and it has been a true delight when we were able to switch
>> to UTF-8. I shall provide more details if you think you need some.
>>
>> Furthermore, switching to UTF-8 makes it natural to switch (later, if
>> you need so) to XML and/or XHTML.
>
> How do you switch between the various formats? <<class utf8>> is fairly
> obvious but I thought the code is 4 characters so <<class utf16>> wouldn't
> be possible?
utf-16 is «class utxt»
jj
--
http://www.macscripter.net/
http://www.osaxen.com/
_______________________________________________
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