return unicode characters from database with ajax

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oranoos3000
    New Member
    • Jan 2009
    • 107

    return unicode characters from database with ajax

    hi
    in first page of my site i show title of aricles and i want
    while user click link fetch suitable from database via a file php that
    is cotacted with code ajax . all things is done well but data is fetch consist of
    unicode character output is return is ? instead of any character output ? is returned
    i use
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    on top of page that output is shown
    what i must do that this problem is solve?

    thanks
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    have you tried, whether the browser displays the characters correctly with a different charset? otherwise, you may have to tell PHP to treat the characters as unicode.

    Comment

    Working...