Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.
Moderator: General Moderators
-
Bandy
- Forum Newbie
- Posts: 22
- Joined: Sat Oct 21, 2006 5:14 am
- Location: Croatia
Post
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
-
feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Post
by feyd »
The data probably needs to be updated. Also, your pages need to be in the same character encoding.
-
Bandy
- Forum Newbie
- Posts: 22
- Joined: Sat Oct 21, 2006 5:14 am
- Location: Croatia
Post
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
-
feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Post
by feyd »
It's not only your <meta> tags, but the HTTP response information too.
Check out
header().
-
Bandy
- Forum Newbie
- Posts: 22
- Joined: Sat Oct 21, 2006 5:14 am
- Location: Croatia
Post
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 ?

.
Is this the right way?
Thax