SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    a fresh, new start... dujmovicv's Avatar
    Join Date
    Aug 2006
    Location
    Earth
    Posts
    559
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Displaying hungarian letters correctly

    Hi ALL,

    displaying non-English letters on a website needs additional coding, and I need your assistance to display HUNGARIAN (ő, , , etc...) letters correctly on a website. Now, when displaying the characters with their ASCII code (i.e. &#233 for ''), that is OK! But I have some recordds in a MySql database as well (guestbook entries, blog posts...) and they look weird in the browser (like hieroglyphs....). Can someone tell me how can I escape (if that's the correct method) those characters to display correctly???
    I hope I was clear enough with describing the issue...

    Thank you advanced!

    Full time ADMIN - art community
    Part time coder - dsign

  2. #2
    a fresh, new start... dujmovicv's Avatar
    Join Date
    Aug 2006
    Location
    Earth
    Posts
    559
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi ALL!

    In the meantime I found the solution to my problem :
    in the HTML header instead of
    Code:
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    I changed the charset to utf-8 :
    Code:
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    which solved the problem!

    Full time ADMIN - art community
    Part time coder - dsign

  3. #3
    SitePoint Wizard frank1's Avatar
    Join Date
    Oct 2005
    Posts
    1,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yup i was going to write that

    any way ,may be some point of time you will think of generating pdf for same...or use gd libaries to generate image from those text....
    if you succeed,please pm me as well ...
    i have not succeed in that atleast....

    They do support but still broken word problem ...not rendered correctly in generated pdf or image....


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
  •