Re: Displaying unicode in browser

From: William Overington (
Date: Fri May 02 2003 - 03:57:07 EDT

  • Next message: Pim Blokland: "Re: Displaying unicode in browser"

    In the source code of the HTML file which the browser views, the way to
    express a Unicode character in general is to use an ampersand followed by a
    NUMBER SIGN character followed by the number as a base 10 integer (that is,
    an ordinary, non-hexadecimal number) followed by a semicolon.

    The NUMBER SIGN character is also known as a hash and as an octothorpe.

    Some characters can be recognized by a browser by using a special name such
    as aacute; for the a acute character which you mention.

    I am attaching a small HTML file to demonstrate these matters.

    There is a way to use a hexadecimal number directly, by placing a letter x
    after the NUMBER SIGN and before the number, which is then a hexadecimal
    number, but that not all browsers will accept that format, so perhaps
    converting the hexadecimal numbers to decimal is best. An easy way to
    convert from hexadecimal to decimal on a PC is by using the Microsoft
    calculator in View | Scientific mode.

    William Overington

    2 May 2003

    -----Original Message-----
    From: SRIDHARAN Aravind <>
    To: <>
    Date: Friday, May 02, 2003 7:30 AM
    Subject: Displaying unicode in browser

    Hi unicode members,

    I have every special characters as unicode.
    When I display this unicode converted characters on a browser, what I see is
    only unicode.

    e.g, For , the unicode equivalent is \u00e1.
    And when I display this character on browser what I get is \u00e1instead of
    This sounds strange.

    Should I need to employ some conversions before I display?
    What should I do?

    Could anyone help me out in this regard?
    Could anyone tell me whether I am wrong in my approach?

    This archive was generated by hypermail 2.1.5 : Fri May 02 2003 - 04:38:26 EDT