I know this topic was descibed few times so far, but here is mine strange one:
I have my database set to
latin-2-general-ci
My page is set to:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php header('Content-type: text/html; charset=utf-8');?>
And here is issue when I try to use polish letters i.e.”ą / ł”
I have to seprate ways to add information to my MySQL base.
First using AJAX-JQUERY- polish letters are no stored as it seems to look but like something like this:
Ał?
, but suprisingly, when I use JS to put them in the screen looks good – ą
Second with zend_form – added information directly using only PHP code, chars are stored exact way i type them – in my database: łołoł but when JS try to read it these chars are ommited f.e
Database: łołoł
View: oo
Any idea how to solve it?
Regards
Radek
If you using application.ini configuration file just put this lines in: