Latin letter problem!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm building an simple CMS system. I have built almost everything but one thing buggs me...

I have a MySQL database built for publishing news (Id,title,newsContent,timestamp).

And I have a php web page that displays that content. The problem is with the charset, in the database the settings are following:

character set latin2 collation latin2_croatian_ci;

and in the tables character set utf8;

I display the data in the php page using utf8 I see all the non-PHP content pure HTML content capable of seeing croatian letter čćžšđ, but in the news section I only see čćđ. But they are on the same page!

I tried putting other HTML charsets like iso-8859-1,iso-8859-2 etc...
But in all the scenarios I get the HTMl part working but PHP not working vice-versa...


Please help me it is a very important web page if you need any other information just ask!

Thank you very much in advance!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux