Connecting Tech Pros Worldwide Help | Site Map

return unicode characters from database with ajax

Member
 
Join Date: Jan 2009
Posts: 52
#1: Oct 3 '09
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's Avatar
Moderator
 
Join Date: Aug 2008
Location: Leipzig, Germany
Posts: 3,629
#2: Oct 3 '09

re: return unicode characters from database with ajax


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.
Reply


Similar JavaScript / Ajax / DHTML bytes