![]() |
change database from latin1 to UTF8
i want to change my database from latin1 to UTF8 , the ALL COLLATION .
i tried the latest version of vCharset and few other stuff like using this code : PHP Code:
any one have an idea how to do it perfectly? im using vb3.8.6 thanks. |
i did this and it was the most diffucult thing i ever did in my life. this vcharset is junk. i have a big db so in some tables the encoding process returned errors. i had to manually fix some ,
anyway i dont know how big is your db but u should check this out. http://www.vbulletin.com/forum/showt...=1#post1816873 it will give u an idea on how to start, get a test forum and a dump and start testing importing etc. if any tables return errors try to exclude them from the dump, then encode the db with the excluded tables, and then if this happens i ll tell u what i did. |
it didnt worked for me !
(i had many problems, after solveing them , i had a collation mix problem, so i converted all the collation also, and then after i successfully logged in my admin cp i didnt see hebrew , only english and gibbreish - although i used UTF8 encoded.. ) my db size is about 220MB . anyone can make it clear once and for all how to do the convert? so many people are looking for this ..... |
what was the problems u encountered ?
|
as i said, ive seen only english and gibbresh , no hebrew ...
|
u need to convert it 3 times then - from english to utf-8, from gibbresh to utf-8 and from hebrew to utf-8
3 times this command iconv -c -f windows-1252 -t utf-8 your-database.sql > your-database_utf8.sql replacing windiws-1252 with the appropriate encoding for gibbresh and hebrew |
All times are GMT. The time now is 01:01 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|