DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:utf8update

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tips:utf8update [2008-08-09 16:10]
ach moved from :utf8update
tips:utf8update [2010-06-12 13:50] (current)
andi
Line 1: Line 1:
 ====== DokuWiki UTF8 conversion ====== ====== DokuWiki UTF8 conversion ======
  
-[[:​DokuWiki]] uses UTF-8 encoding for storing data since release 2005-02-06. This allows you to add all kind of languages to the same Wiki-Installation. This means if you upgrade from an older version you need to reencode your data files.+[[:​DokuWiki]] uses [[:UTF-8]] encoding for storing data since release 2005-02-06. This allows you to add all kind of languages to the same Wiki-Installation. This means if you upgrade from an older version you need to reencode your data files.
  
 **If you are installing DokuWiki for the first time, you don't need to do anything** - DokuWiki will work out of the box. **If you are installing DokuWiki for the first time, you don't need to do anything** - DokuWiki will work out of the box.
Line 8: Line 8:
  
 If you do the conversion yourself, please note that DokuWiki stores filenames [[phpfn>​rawurlencode|urlencoded]] so you may have to rename your files, too. If you do the conversion yourself, please note that DokuWiki stores filenames [[phpfn>​rawurlencode|urlencoded]] so you may have to rename your files, too.
- 
-If after upgrading your installation to a UTF8 version of DokuWiki you find that the search function is very, very slow, even to the point where search results fail to show then check PHP has been compiled with //​--enable-mbstring//​ (PHP 4.3.0+) 
-Teste de verificação 
  
 ===== UTF-8 conversion helper ===== ===== UTF-8 conversion helper =====
  
 :!: **This script wasn't updated for a long time and is not compatible with newer DokuWiki releases** so it will not work out of the box anymore. You should have a look at the bash script below for an alternative way to upgrade old datafiles. :!: **This script wasn't updated for a long time and is not compatible with newer DokuWiki releases** so it will not work out of the box anymore. You should have a look at the bash script below for an alternative way to upgrade old datafiles.
--- up to what version is it working? 
  
- +The simplest way to upgrade your datafiles to UTF8 is to use the "​dokuwiki-convert"​ script: ​{{:tips:dokuwiki-convert-latest.tgz|}}
-The simplest way to upgrade your datafiles to UTF8 is to use the "​dokuwiki-convert"​ script ​available at +
-http://​www.splitbrain.org/​Programming/​PHP/​DokuWiki/​dokuwiki-convert.tgz.+
  
 The script will walk through your data directory and reencode all the files for you. The script will walk through your data directory and reencode all the files for you.
Line 47: Line 41:
   * For english wikis the script will skip a lot of files   * For english wikis the script will skip a lot of files
     * US-ASCII is a subset of UTF-8 so there is no need for converting these files     * US-ASCII is a subset of UTF-8 so there is no need for converting these files
- 
- 
- 
- 
  
 ===== Sample Bash script for conversion with iconv ===== ===== Sample Bash script for conversion with iconv =====
tips/utf8update.1218291018.txt.gz · Last modified: 2010-06-12 13:50 (external edit)