locked
Asian Characters RRS feed

  • Question

  • User-971939847 posted

    is there a way to display chinese  characters for pda/mobile phone applications?its stored in the db but doesnt show up on the screen.

    Wednesday, December 21, 2005 7:08 PM

All replies

  • User1625204979 posted

    First I would suggest you to confirm if the device (and the browser you are using to browse mobile web application) supports displaying Chinese characters.  Usually the product documentation has this info.

    If it does support displaying Chinese characters, you would need to figure out which Chinese encoding the browser supports (e.g. UTF-8, GB18030, Big5, etc..).  Sometimes this info is available through the HTTP header Accept-Charset that is sent from the device, but the value does not always apply accordingly.

    After knowing the correct encoding, you can set the encoding of the page response either through:
    1) ResponseEncoding attribute in the Page directive,
    2) responseEncoding attribute in the <globalization> section in web.config, or
    3) Response.ContentEncoding in code dynamically.

    Tuesday, January 3, 2006 9:51 PM