DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:utf-8

Differences

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

Link to this comparison view

devel:utf-8 [2009-02-06 18:50] (current)
andi created
Line 1: Line 1:
 +====== UTF-8 String Handling ======
 +
 +PHP treats all strings as ASCII by default. The recommended way of working with UTF-8 strings is to use the mb_string extension. Unfortunately this library is not always available. DokuWiki comes with a library that will handle all UTF-8 string in pure PHP when mb_string is not available.
 +
 +Please refer to the [[xref>inc/utf8.php|API reference]] for available functions.
 +
 +Note: Only use UTF-8 aware functions when needed. If operations can be done on byte level without special care for character boundaries this should be done as it is usually much faster.
  
devel/utf-8.txt ยท Last modified: 2009-02-06 18:50 by andi