Programming, website development forum Get latest updates by RSS Follow TechnicalTalk on Twitter Follow TechnicalTalk on Facebook 
HomeSearchRecent PostsLoginRegisterContact Us

Username  
Password    
  Forgot your password?  

Pages: [1]   Go Down
 
  Email this topic  |  Print
0 Members and 1 Guest are viewing this topic.

Unicode vs Western

 
webmaster forum
Wally  Offline
Activity
0%
 
New Coder
Location: USA
Gender: Male
Posts: 37
Topics: 3
WWW
August 03, 2010, 07:53:52 PM

I just ran into a problem today.  The pages that we nomally design (to be viewed locally only) use a Western character set.  However, the new page I set up today uses a Unicode charater set.  The problem is the " and ' characters are now displaying as boxes or question marks on the pages.  How do I get them to display correctly without switching back from Unicode?

Totally-Gaming, when you really want to talk games.
 
webmaster forum
Admin  Offline
*
 
Code Guru
Location: India
Gender: Male
Posts: 1387
Topics: 105
NaviBuster NaviBuster
WWW
August 03, 2010, 09:07:40 PM

Have you tried setting the unicode character for the page where you want to show unicode characters?

In the meta tags you can very well define the characher set for a page.

For e.g.

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />


Hope this helps you.
 
webmaster forum
Wally  Offline
Activity
0%
 
New Coder
Location: USA
Gender: Male
Posts: 37
Topics: 3
WWW
August 04, 2010, 06:13:50 AM

Setting the meta tags to to "charset=iso-8859-1" does fix the problem.  But how do pages using "charset=utf-8" get around this issue?

On a related note, is unicode "more compatible" for a global distribution than a western character set?

Totally-Gaming, when you really want to talk games.
 
webmaster forum
Andrew09  Offline
Activity
0%
 
New Coder
Posts: 36
Topics: 4
October 06, 2011, 10:04:24 PM

However, since all operating systems for home computers available today are Unicode based, and since two-thirds or more of HTML editors support Unicode, I don't see much gain in choosing to use a legacy 8-bit character set. It doesn’t give you anything that Unicode doesn’t give.

Some sets do use less bytes to produce the same number of characters. But that is hardly true of ISO-8859-1, unless you are using a very, very large number of extended characters, accented characters and pound currency signs and yen signs and so forth.

web site development services | Web development company | reputation management 
 
webmaster forum
mallory  Offline
Activity
40%
 
New Coder
Posts: 39
Topics: 7
January 24, 2012, 07:14:37 AM

The advantages of depend very much on the language your web page is in.

Very few people, of example, would create a Japanese, or Devanagari, or even a Turkish web page in ISO-8859-1, using HTML character entities fo cover any characters not in ISO-8859-1.

If you are, however, creating a web page in English or French or another western language, it probably won’t matter much which one you use.

However, since all operating systems for home computers available today are Unicode based, and since two-thirds or more of HTML editors support Unicode, I don't see much gain in choosing to use a legacy 8-bit character set. It doesn’t give you anything that Unicode doesn’t give.

Some sets do use less bytes to produce the same number of characters. But that is hardly true of ISO-8859-1, unless you are using a very, very large number of extended characters, accented characters and pound currency signs and yen signs and so forth.

online email marketing | web designers in chennai
 
  Email this topic  |  Print
Pages: [1]   Go Up
 
Jump to:  



Powered by SMF 1.1.15 | SMF © 2011, Simple Machines


Google visited last this page February 04, 2012, 04:44:18 AM