News:

Join the Facebook Fan Page.

Main Menu

UTF-8 Conversion

Started by JayBachatero, January 08, 2007, 09:39:10 PM

Previous topic - Next topic

JayBachatero

I'm looking into adding UTF-8 support to the converter.  Before I do that I want to try this first to see if it will work.  After installing SMF go to Admin > Forum Maintenance > Convert to UTF-8.  That will convert the tables and column to the UTF-8 collation.  After that try the converter.  Doing that should work for the most part.  If not I'll look at another alternative.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

JayBachatero

Ok this is a test converter to test UTF-8 stuff out.  Let me know how it goes.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

madru

Negative. Same thing and this time I got an error. I ticked the new option of converting to UTF-8 (I did a fast clean install again) and here is what I got:
Converting ranks... Successful.
Converting groups... Successful.
Converting members... Successful.
Converting additional member groups... Successful.
Converting categories... Successful.
Converting boards... Successful.
Converting topics... Successful.
Converting posts (this may take some time)... Successful.
Converting polls... Successful.
Converting poll options... Successful.
Converting poll votes... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting topic notifications... Successful.
Converting board access... Successful.
Converting group access... Successful.
Converting moderators... Successful.
Converting avatar gallery images...
Fatal error: Cannot redeclare copy_dir() (previously declared in /var/www/site/forum/convert.php:2108) in /var/www/site/forum/convert.php(682) : eval()'d code on line 19

JayBachatero

Ok that error is due to a change that I made in convert.php.  I have to update the phpbb2_to_smf.sql to reflect the change.  I'll update it now and post in the topic.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

odbayarb2000

I have already converted my forum and it turned into alien language lol.
Is there any way to change the character settings into UTF-8 after everything has done. I mean After converted.
Please help me.
Also I want to translate SMF into my own language. How should I start. Please show me the way.
Thanks for your support
http://www.oitamongols.com/ [nofollow]
Accessibility: All Browsers(I believe)
Language: Mongolian
Content: Student Community

odbayarb2000

Hey Guys,
I want to convert my phpbb 2.0.22 forum into SMF 1.1.2.
I have done everything as suggested as here.
The forum has converted successfully. But unfortunately,   I have character set error.
My entire forum is non-english. What should I do now. Please help me ASAP.  
http://www.oitamongols.com/ [nofollow]
Accessibility: All Browsers(I believe)
Language: Mongolian
Content: Student Community

JayBachatero

What collation are the tables set to for SMF?
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

whitewash

Where can I find the phpbb2_to_smf.sql for UTF8?

JayBachatero

Ok give this one a try.  Install SMF with the correct charset that you want to use then convert.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

boki


I've tried and got this error message:

QuoteConverting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members... Successful.
Converting additional member groups... Successful.
Converting categories... Successful.
Converting boards... Successful.
Converting topics... Successful.
Converting posts (this may take some time)... Successful.
Converting polls... Successful.
Converting poll options... Successful.
Converting poll votes... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting topic notifications... Successful.
Converting board access... Successful.
Converting group access... Successful.
Converting moderators... Successful.
Converting avatar gallery images...
Fatal error: Cannot redeclare copy_dir() (previously declared in /home/drugacen/public_html/smf/convert.php:2096) in /home/drugacen/public_html/smf/convert.php(671) : eval()'d code on line 1

JayBachatero

What converter are you using?  I mean the .sql file.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

boki

I'm using the .sql file from "download" page, as you posted only php file on this forum...  

JayBachatero

Where are you converting from?  What software?
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

boki

I'm converting from phpBB 2.0.21

JayBachatero

Try using the converter in this topic: phpBB 2.0.19+ along with the convert.php from here.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

boki

Nothing... still the same problem

JayBachatero

Meaning same UTF-8 problem or conversion problem?
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

haco




Advertisement: