I am posting a JSON response through a php script that has some Hebrew words. but when I run this script in the browser, it shows '?' instead of Jewish characters.
The FYI .. database is in the hebrew_general_ci hierarchy
Any help would be appreciated.
thanks..
You cannot include the corresponding CSS file. also the charset variable is another problem when using native languages. use utf-8 if you use a unicode font like
there may also be a problem if the generated eot font does not fit. I'm not sure that Hebrew needs such a font.
HTTP Content-Type HTML-, , JSON. PHP :
Content-Type
header('Content-Type: text/html; charset="windows-1255"');
, :
header('Content-Type: text/html; charset=YOUR_CHOSEN_CHARSET');
Try charset=utf8or charset=iso-8859-8. There's a list of character sets here .
charset=utf8
charset=iso-8859-8
Source: https://habr.com/ru/post/1722953/More articles:How to translate python unpack tuple in matlab? - pythonWPF textbox height equal to parent height minus 50 pixels? - heightweb2py: How can I execute code before calling the controllers? - web2pyОдно дополнение вместо суммы бит - mathEclipse Google Plugin - working with Python - pythonUser Defined Ranking / Analytical Functions in SQL Server 2008 - sqlWhat is better open source to parse Excel files in Java? - java.NET Deployment Options with Patch / Automatic Update Management - installerUsing IP addresses instead of domain names for cookies - httpMakefiles: получить .cpp из одного каталога и поместить скомпилированный .o в другой каталог - makefileAll Articles