Characters Lost After DB Conversion To UTF-8


Subject: Characters Lost After DB Conversion To UTF-8
Hi all. First to mention that I am writing from my friend's account - we are both admins of our little site www.omarska.net. He was an active member of IP comunity a few years ago, but now he is very bussy with other stuff.


When I found about IP 2.0 I was very pleased to read about it. Therefore I have created a copy of our site (both DB and files) and performed an upgrade. Everything is done, but final result contains some errors.

Tehnical data:
Old version: 1.3.0.53b - avaiable at www.omarska.net
New (upgraded) version: 2.0.0.86 - avaiable at www.omarska.net/icyphoenix/
Use following credentials to access it
Spoiler: [ Show ]

PHP version: 5.2.17
MySQL version: 5.1.65-cll

The problem:
After DB conversion to UTF-8 some serbian latin characters with diacritics have been lost and now are unreadable. Here is the outcome both for lower case and upper case:
Spoiler: [ Show ]


Serbian cyrilic characters all survived.

I have found similar topic by Costa, and solution by TheSteffen but I'm not sure if I can use it in my case.

Second problem:
After clicking on ACP link, nothing happens except sid is added at the end of the URL. The only way I have discovered how to login to ACP is to click on CMS link, and after logging into CMS, I can switch to ACP.

Can anybody help with my problems? No rush, of course :)
Any help will be appreciated.

Regards,
M.

Subject: Re: Characters Lost After DB Conversion To UTF-8
can you please check your NEW , upgraded database Collation

snapshot1

BTW affter i saw your topic i checked my databases .

Results :

Upgradet databases : was on utf8_bin
Fresh databases 2.0 : one base utf8_bin
and one base was on latin_swedish :shock:

i found for me a solution to convert al to utf8_general_ci

result :

snapshot2

so if you want i can attach my edited "convert_utf8_nodbal.php"

Subject: Re: Characters Lost After DB Conversion To UTF-8
Thank you for your reply.

MySQL connection collation: utf8_general_ci

Upgraded database collation utf8_bin.

Collation of tables inside my upgraded DB utf8_bin.
utf8_bin

There are some tables with prefix _old and collation of those tabels is different. I guess they are not used after the conversion process.
old

So, you have modified "convert_utf8_nodbal.php" to create utf8_unicode_ci tables? Sure, I would like to try it.

M.

Subject: Re: Characters Lost After DB Conversion To UTF-8
yep and here it is

BTW backup your database before

let me know if you solved problem with characters

then will see about ACP


convert_utf8_nodbal.php.zip
Description: converting to utf8_general_ci 
Download
Filename: convert_utf8_nodbal.php.zip
Filesize: 1.43 KB
Downloaded: 205 Time(s)

Subject: Re: Characters Lost After DB Conversion To UTF-8
 
Off Topic
:
omarska wrote: [View Post]
First to mention that I am writing from my friend's account

Please create your own private account to avoid further confusion, it will only take you a couple of minutes and it's free .. thanks in advance :wink:

Also.. try to post only 1 problem per thread, so please open another thread for the second question ..again .. thanks in advance :wink:

Subject: Re: Characters Lost After DB Conversion To UTF-8
 
Off Topic
:
About your second bug (ACP problem) ...

Would you like to post this in the bugtracker yourself omarska? I confirm it is a bug, since this is even happening at this site :wink:

http://www.icyphoenix.com/bugs.php
If you don't have access there please let me know.

Subject: Re: Characters Lost After DB Conversion To UTF-8
omarska,
You still have problems?

What is the collation of the old (IP 1.3) database?
And what letters are there, what language? Serbian?

Profile PM  
Subject: Re: Characters Lost After DB Conversion To UTF-8
 
Off Topic
:
I've already reported the ACP bug in the bugtracker for you.. http://www.icyphoenix.com/bug.php?bid=132

Subject: Re: Characters Lost After DB Conversion To UTF-8
omarska, did you solve your issue?


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.083s (PHP: 23% SQL: 77%)
SQL queries: 12 - Debug Off - GZIP Enabled