Unicode revisited, this time with htmlText

Toma Tasovac ttasovac at princeton.edu
Tue Nov 25 04:16:25 EST 2003


Yes, Alex, we have the same question.

I still don't understand Tuviah's remarks about HTML specifications and 
hex values -- as your html code below shows, setting the charset is all 
that's needed for proper display of Unicode text in HTML...

T.


On Nov 22, 2003, at 11:20 PM, Alex Rice wrote:

> Tuviah and Richard, you have totally lost me. What I think Toma and me 
> are asking is: Supposing you have an HTML document with UTF-8 
> encoding, with a header like this:
>
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
>
> How can I get the file to display in htmlText? (In fact I do have this 
> problem in the Project Gutenberg reader I'm writing)
>
> I have to step through every character to call charToNum() and 
> generate HTML character entities, then put it into htmlText? For a 
> multi-MB file this is simply not going to work efficiently enough. I 
> would rather launch the user's browser than try to deal with this in 
> transcript. Do you see the dilemma? That htmlText's way of dealing 
> (not dealing at all) with text encoding is really problematic for some 
> users?
>
>
> Alex Rice <alex at mindlube.com> | Mindlube Software | 
> <http://mindlube.com>
>
> what a waste of thumbs that are opposable
> to make machines that are disposable  -Ani DiFranco
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list