e107 Wiki: English | Русский | Deutsch | Français | Magyar | Português | Български | Česky | Nederlands | Ελληνικά | Italiano | Norske | Polska | Slovenščina | Español | Svenska | Translate: Wiki | Page
- Getting Started
- How To Maintain e107
- Advanced Topics
This page is a stub. You can help e107 by expanding it.
Version 0.7+ of the e107 CMS uses the UTF8 format to encode content. Earlier versions encoded all s data in ISO.
The change has been made to give greatly improved multi-language functionality.
Who need to do this manipulation?
- If you upgrade your e107 website from any version prior to v0.7.0 (unless you choose to retain ISO encoding, which is not recommended for the long term).
- If there is no ISO language pack available for your language.
- Your old data probably shows special characters specific to your language as Chinese symbol (in IE) or question mark
How to upgrade to UTF8 encoding
Be careful, only do this manipulation if you know what you are doing!! Practice on a local copy of your website prior to do it on your main website!
This way is the easiest i've tried and has worked for me, feel free to add details or corrections or other ways of upgrading...
- First thing, you must make a backup of your entire database. Better explanation
- Go into your PhpMyAdmin,
- Select your database,
- Select Export,
- Select "Drop database" in the structure form,
- Select "Complete insert", "Extended insert" & "Export type : REPLACE" in the Database form,
- Select "Zipped" or "G-zipped" and Export,
- Name your file to recognize it easily as your main backup.
- Repeat #1 but select only the tables from the e107 core.
- You just have to select all tables and unselect the ones added by external plugins (usually, the name is easy to recognize)
- Save that file in a .sql format. (We will call it e107DB_upgrade_ISO.sql)
- Open e107DB_upgrade_ISO.sql Windows users, please DO NOT use Notepad or Wordpad!.
- Make sure the file is written in ANSI format,
- Select "Save as..." and look at the dropdown menu in the bottom of the windows, it's supposed to be ANSI
- Select in that dropdown menu "UTF8" and save your file into e107DB_upgrade_UTF8.sql
- Now, you must import that file into your e107 database,
- Into PhpMyAdmin, select the name of your database,
- Select the "SQL" tabulation,
- Select your file e107DB_upgrade_UTF8.sql and execute.
- Normally, your database should be upgraded
- Verify that your content is now showing properly into your website.
- If everything is fine, repeat the process for the tables of the external plugins.
- Drink a beer, have fun! You are now e107 v0.7+ compliant! ;-)
- If you are not able to do it this way, don't forget that you have a backup! Just restore it.
More information on character encoding