Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Why use UTF-8?

  1. #1
    New Coder
    Join Date
    Feb 2007
    Posts
    36
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Exclamation Why use UTF-8?

    Hi,

    I am making a Web site requiring multi language (8 occidental, 4 oriental) and wonder if it would use UTF-8 or ISO-8859-1 as main with converters to unsupported languages.

    My question is because using ISO-8859-1, must of the languages can be stored as they were captured (From the keyboard to the file) but using UTF-8 all but English will be stored as encoded chars that no human is able to read.

    Kind Regards,

    Roberto

  • #2
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by Rocko View Post
    Hi,

    I am making a Web site requiring multi language (8 occidental, 4 oriental) and wonder if it would use UTF-8 or ISO-8859-1 as main with converters to unsupported languages.

    My question is because using ISO-8859-1, must of the languages can be stored as they were captured (From the keyboard to the file) but using UTF-8 all but English will be stored as encoded chars that no human is able to read.

    Kind Regards,

    Roberto
    the problem is in user settings because browsers come with a default setting for iso-8859-1 and not utf-8 and most of the users don't change this.
    in my opinion the best bet is utf-8:
    - iso-8859-1 is a subset of utf-8, so even if user don't have multilingual setting in browser can be used
    - despite other encoding is standard and accepted on all systems

    PS: the statement, yellow one, is not correct. when you use something what is not ascii the result is same no matter the encoding. the difference is that utf-8 have already support in many application.

    regards
    Last edited by oesxyl; 07-04-2008 at 05:25 PM.

  • #3
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,316
    Thanks
    29
    Thanked 280 Times in 274 Posts
    Quote Originally Posted by Rocko View Post
    My question is because using ISO-8859-1, must of the languages can be stored as they were captured (From the keyboard to the file) but using UTF-8 all but English will be stored as encoded chars that no human is able to read.
    You seem to have things a bit backwards there; ISO-8859-1 can represent 256 characters of Unicode literally (i.e., without the need for character escaping) whereas UTF-8 can represent all 100,713 characters literally. There’s a world of difference between the two.
    For every complex problem, there is an answer that is clear, simple, and wrong.


  •  

    Posting Permissions

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