Re: unicode html




Sybren Stuvel wrote:
lorenzo.viscanti@xxxxxxxxx enlightened us with:

As an example I would like to do this kind of conversion:
\uc3B4 => ô
for all available html entities.

Why would you want that? Just make sure you declare your document as
UTF-8, encode it as such, and you're done. Much easier.
For example, I am programming a script that makes html pages, but I do
not have the ability to change the "Content-Type .. charset=.." line
that is sent preceeding those pages.

Jim

.



Relevant Pages

  • Re: utf8 and HTML Entities
    ... I have a string encodet in utf8 with part HTML Entities and part characters in utf-8. ...
    (comp.lang.perl.misc)
  • Re: utf8 and HTML Entities
    ... I have a string encodet in utf8 with part HTML Entities and part characters in utf-8. ... How do I translate the HTML Entities into proper utf-8? ...
    (comp.lang.perl.misc)
  • Re: content-type and unicode
    ... chinese figures. ... Not sure what you mean with Unicode, but I suspect you mean HTML entities ( ... represent all characters in UTF-8 and you still can get trash if you mix ...
    (alt.html)
  • utf8 and HTML Entities
    ... I have a string encodet in utf8 with part HTML Entities and part characters in utf-8. ... How do I translate the HTML Entities into proper utf-8? ...
    (comp.lang.perl.misc)
  • Re: Passing extended chars
    ... > If correctly encoding extend chars as html entities isn't working for ... You are creating an _URL_ so if you want/need encode a tring for passing ...
    (comp.lang.php)