Results 1 to 5 of 5

Thread: Add Unicode In Combos

  1. #1
    Join Date
    Jul 2005
    Location
    Oregon, USA
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Add Unicode In Combos

    Please help me to add on unicode in one of the following script.
    The reason I want it because I want to setup a Vietnamese website. I want to use Unicode (tahoma font). I tried plugin in stlye-sheet & style=font-family:tahome, but it didn't work.

    2 Level Combo Box (http://www.javascriptkit.com/script/...elcombo.shtml), Double Combo (http://www.javascriptkit.com/script/cut183.shtml) and Triple Combo (http://www.javascriptkit.com/script/...plecombo.shtml) are very much similar.

    Thank You Very Much!

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    You need to specify
    Code:
    Content-Type: text/html; charset=unicode-1-1
    server-side.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Twey
    You need to specify
    Code:
    Content-Type: text/html; charset=unicode-1-1
    server-side.
    The unicode-major-minor character set types should be avoided in favour of the variant names, such as UTF-8.

    In around 1999, an effort was made to deprecate the form you suggested. I don't know if it was successful; searches keep returning pre-1999 documents that recommend the form.


    To the OP: Save your document using the UTF-8 encoding then, as Twey suggested, make sure your server sends the following Content-Type header:

      Content-Type: text/html; charset=UTF-8

    If you don't have control of the server (access to the configuration, or ability to use .htaccess files, or equivalent) and your host won't make the necessary changes for you, as a last resort you can include this in the HTML document itself using:

    HTML Code:
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    in the head element. However, if you do this then everything prior to that element must be written in 7-bit ASCII.

    Mike

  4. #4
    Join Date
    Jul 2005
    Location
    Oregon, USA
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default It's Not Working!

    Thanks for your help, I tried and it's not working.
    In addition, it works on the 1st combo only (not the 2nd one & level 2), but I want it works on all combo.

    Please help me...

    Thanks all!

  5. #5
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Your browser must be set up to use the correct charset as well.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •