Welcome Guest, Not a member yet? Register   Sign In
Hebrew Characters Problem
#1

[eluser]yNaxon[/eluser]
Hello,
I'm having a problem with hebrew characters:
when i'm fetching data from the db, which it's allocate is utf8_general_ci,
the hebrew characters displayed by question-marks.

my charset is windows-1255, if I change it to utf-8 the string which is not from the database is displayed by '�' and the hebrew still displayed by question marks.

how can I make it work?
Thanks alot,
Yonatan.
#2

[eluser]toopay[/eluser]
1) appended the charset on the end of the HTTP Content-Type header too? header('Content-type: text/xhtml; charset=windows-1255'); as well as the tag?

2) using multi byte string functions mbstring or are overloading all string functions mbstring.overload, and/or hebrev() or hebrevc() where required

3) and you're using setlocale() for other localisations, check here setlocale

If you're pulling UTF out of the DB, you may need to use iconv() or similar to translate it to another encoding? iconv
#3

[eluser]yNaxon[/eluser]
1) I don't sure i've understood correctly, where should I put the code you wrote?

i'll check the others.

thanks Smile
#4

[eluser]yNaxon[/eluser]
help anyone? I can't solve this problem, tried to fetch data on a clean installation and still same problem.




Theme © iAndrew 2016 - Forum software by © MyBB