【雞】丁酉年己酉月庚戌日 / 八月初三日
Wednesday September 20, 2017

HOWTO Internet

  • Set the characterset of the document

  • For HTML documents, place the following code in the header of the document
    <META http-EQUIV="Content-Type" CONTENT="text/plain; charset=big5">

    For XML documents
    <?xml version="1.0" encoding="Big5" ?>


  • Set the lang-attribute

  • <p lang="fr">...French text interrupted by<em lang="ja">some Japanese</em>French begins here again...</p>

    more info: language information and text direction (W3C)

  • Display characters and symbols

  • &NAME; : the name → &aacute; = á
    &#;VALUE; : Decimal value → &225; = á
    &#;xVALUE; : Hexadecimal value → &xE1; = á

  • Display text vertically (using CSS code). Read more on this topic in the Howto Vertical.

  • 這是一個test. 好玩吧


    The CSS code for the above notation is :

    <div style="writing-mode:tb-rl">這是一個test.好玩吧</div>

    This function is only available on Microsoft Internet Explorer > 5.5, Netscape/Firefox/Chrome do NOT support this.
    You can also use the proposed CSS3 transform code, however this will rotate the characters also. The W3C is working on a new specification to allow vertical display (link).

  • Ruby
  • See the special ruby howto


[ < back ] - [ home ]