Page 1 of 1

Mysql charset

Posted: Fri Mar 16, 2007 7:21 am
by Bandy
Hi to all!

I just uploaded mysql query with data to server and i noticed that data don't display Croatian charset insted of them it displays ? etc...

Then ive look arround and switched charset to UTF-8 Unicode (utf8). But that dosen't work.

What to do more!

Thanks

Posted: Fri Mar 16, 2007 7:25 am
by feyd
The data probably needs to be updated. Also, your pages need to be in the same character encoding.

Posted: Fri Mar 16, 2007 8:32 am
by Bandy
My meta stands:
<META http-equiv=Content-Type content="text/html; charset=windows-1250">
I ll refreshed and updated SQL Query couple of times and still stands charset, i even try with CP1250 Croatian charsets still the same.

Thanks

Posted: Fri Mar 16, 2007 8:36 am
by feyd
It's not only your <meta> tags, but the HTTP response information too.

Check out header().

Posted: Mon Mar 19, 2007 9:32 am
by Bandy
Ok now i put header() function like this:

Code: Select all

header('Content-type: text/html; charset=windows-1250');
Still the same thing on croatian charset it still stands ? :evil: .

Is this the right way?

Thax