SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    AdSpeed.com Son Nguyen's Avatar
    Join Date
    Aug 2000
    Location
    Silicon Valley
    Posts
    2,241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, I just designed a website for my school, it uses Vietnamese. And I used unicode to display Vietnamese. The page looks good in IE5.5 (I think in IE5 too), but in Netscape (4.72), some of the words just display "?" and not the right words.

    Anybody knows why?

    ------------------
    http://new.123finder.com/ - Helps you find cool domains for FREE & Registers it for only $14.95/yr
    http://www.guideclick.com/ - Qualified webmaster resources (affiliate programs, web design, tips)

    ------
    Son

  2. #2
    AdSpeed.com Son Nguyen's Avatar
    Join Date
    Aug 2000
    Location
    Silicon Valley
    Posts
    2,241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oops, just forget to post the url:

    www.ptnangkhieu.com

    ------------------
    http://new.123finder.com/ - Helps you find cool domains for FREE & Registers it for only $14.95/yr
    http://www.guideclick.com/ - Qualified webmaster resources (affiliate programs, web design, tips)

    ------
    Son

  3. #3
    SitePoint Wizard silver trophy Karl's Avatar
    Join Date
    Jul 1999
    Location
    Derbyshire, UK
    Posts
    4,411
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Most browsers are just not unicode compatible and it looks like Netscape is one of them, there was a time when the only Unicode compatible applications only ran on Windows NT and *nix so I guess you are lucky that it works in IE.

    ------------------
    Karl Austin
    KDA Web Services
    "Everyone has a photographic memory. Some just don't have film."

  4. #4
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Windows has been unicode capable since the release on 95 in 1995. Windows uses Unicode for all purposes except DLL function calls (for backwards compatibility).
    The problem in question is two-fold:
    <UL TYPE=SQUARE>
    <LI>The reason Netscape isn't showing your page properly is because your not sending it a character set meta tag. Which would be the same as the one below (For Vietnamese):
    &lt;META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1258"&gt;

    Your biggest problem is that you have both English and Vietnamese on the same page but you can force the browser to use Unicode as well. To do that you would use one of these tags instead:
    &lt;META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=unicode"&gt;

    &lt;META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=unicodeFEFF"&gt;

    <LI>You need to use a Unicode enabled font. Not all of them are. I do know that the default fonts the browsers use are not. Here I can not help you with right now because I have not researched this part before. But if you put in one of the codes above it Windows will prompt users to download any language support they need which includes Unicode versions of some fonts. I don't know about other OSes but I do know that both the Macintosh and Linux support Unicode.
    </UL>
    Once you have Unicode support at the OS level a properly designed program will inherit that by default. I know this is the case in Windows if you use Windows default types for strings.

    ------------------
    Wayne Luke - Sitepoint Forums Administrator
    Digital Magician Magazine - MetaQuark Creations (Coming Soon)
    wayne@sitepoint.com

    [This message has been edited by wluke (edited August 18, 2000).]

  5. #5
    AdSpeed.com Son Nguyen's Avatar
    Join Date
    Aug 2000
    Location
    Silicon Valley
    Posts
    2,241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your help,
    However, I've heard that IE5 & MS Office 2000 support Unicode very well.
    But I don't know the same thing with NN & other browser

    I thought the English char. set is the default one, how come it conflicts with VNese char. set?

    I think Windows 2000 & NT are fully based on unicode


    ------------------
    http://new.123finder.com/ - Helps you find cool domains for FREE & Registers it for only $14.95/yr
    http://www.guideclick.com/ - Qualified webmaster resources (affiliate programs, web design, tips)

    ------
    Son

  6. #6
    AdSpeed.com Son Nguyen's Avatar
    Join Date
    Aug 2000
    Location
    Silicon Valley
    Posts
    2,241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, could I have a cgi script to redirect the user: if IE5, then give out the page with VNese, else give out non-unicoded page

    Do you think it possible/ a good solution?


    ------------------
    http://new.123finder.com/ - Helps you find cool domains for FREE & Registers it for only $14.95/yr
    http://www.guideclick.com/ - Qualified webmaster resources (affiliate programs, web design, tips)

    ------
    Son

  7. #7
    AdSpeed.com Son Nguyen's Avatar
    Join Date
    Aug 2000
    Location
    Silicon Valley
    Posts
    2,241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've tried putting the code you shown me, but none work perfectly.
    HOwever, after searching the Internet for this topic, I found out that using charset=UTF-8 is the solution

    I haven't checked with other browser (besides NN4.7 & IE5,IE5.5)

    Could anyone check them for me?? Oh, but can you differentiate between VNese & non-sense symbols


    ------------------
    http://new.123finder.com/ - Helps you find cool domains for FREE & Registers it for only $14.95/yr
    http://www.guideclick.com/ - Qualified webmaster resources (affiliate programs, web design, tips)

    ------
    Son


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
  •