You are here: start » utf8


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

Link to this comparison view

Both sides previous revision Previous revision
utf8 [2013/01/15 17:48]
Christoph M. Becker [Using ANSI encoded Templates and Plugins]
utf8 [2013/01/15 20:05]
Christoph M. Becker [Upgrading from ANSI encoded Versions]
Line 34: Line 34:
 <​code=php><?​php <​code=php><?​php
-$qs = str_replace(array('​%E4',​ '​%F6',​ '​%FC',​ '​%C4',​ '​%D6',​ '​%DC',​ '​%DF'​),​ +$qs = str_replace(array('​%E4', ​   '​%F6', ​   '​%FC', ​   '​%C4', ​   '​%D6', ​   '​%DC', ​   '​%DF'​),​ 
-                  array('​ä', ​  ​'ö', ​  ​'ü', ​  ​'Ä', ​  ​'Ö', ​  ​'Ü', ​  ​'ß'),+                  array('​%C3%A4', '%C3%B6', '%C3%BC', '%C3%84', '%C3%96', '%C3%9C', '%C3%9F'),
                   $_SERVER['​QUERY_STRING'​]);​                   $_SERVER['​QUERY_STRING'​]);​
You are here: start » utf8
Except where otherwise noted, content on this wiki is licensed under the following license: GNU Free Documentation License 1.3
Valid XHTML 1.0 Valid CSS Driven by DokuWiki