Jump to content

Encoding problem


regdude

Recommended Posts

Hi!

I'm using now mysql server 5.1.37-2 and I was using mysql server 5.0.70!

So when I moved from one server to another I had problems with encoding because I get "????�" instead of "ĀĀĀĀŠ" (from UTF8).

All database data seems to be in UTF8 and in phpmyadmin everything even shows up right!! But not in the web page (I did also change PHP and web server).

I have tried many ways to get this working but none of them seem to be working.

I have tried simply copying the DB files, I have tried mysqldump, I have tried phpmyadmin export, I have tried converting all this to latin1 then utf8, but nothing helps. Everything worked fine with my forum, it displayed all characters right, but now it only shows up right characters when I start a new forum entry, the old ones are messed up.

Link to comment
Share on other sites

Well I tried to set some things that are related to UTF8, but didn't seem to work, but I do recall one time when I had such a problem (also a migrating problem) and "SET names UTF8" did solve the problem, now it didn't but I think it's just the wrong place.

I'm using a phpbb2 forum.

Is it possible to avoid this code set so that it will allways use UTF8?

I really don't want to change every single page.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.