From: <var...@us...> - 2009-07-06 13:49:01
|
Revision: 6998 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6998&view=rev Author: vargenau Date: 2009-07-06 13:48:55 +0000 (Mon, 06 Jul 2009) Log Message: ----------- Files are now in UTF-8 Modified Paths: -------------- trunk/locale/README trunk/locale/README.de.txt Modified: trunk/locale/README =================================================================== --- trunk/locale/README 2009-07-05 19:07:26 UTC (rev 6997) +++ trunk/locale/README 2009-07-06 13:48:55 UTC (rev 6998) @@ -96,27 +96,10 @@ Character Encoding ------------------ -Currently most of the language files are saved using the ISO-8859-1 +Currently all language files except Japanese are saved using the UTF-8 character encoding to preserve accented characters. Make sure the text -editor you use is capable of performing the appropriate Latin-1 -translation. Strictly speaking, ISO-8859-1 is *different* than Windows -code page 1252 or MacRoman. Upon quick inspection one will notice that -many of the letters do occupy the same positions in each of their' -respective encoding tables, so it is easy to understand how people can -make this false assumption. +editor you use is capable of handling UTF-8 text. -Limitation: -PhpWiki is not able to translate between different character sets on the -fly (iconv). Certain languages, like Japanese or Chinese use special character -sets (euc-jp, utf-8), which must be defined in part four in config/config.ini. -Therefore other languages in different character sets will not be correctly -displayed. -PhpWiki is not yet properly utf-8 safe. That means that certain valid utf-8 multichar -sequences with \0 in it, will break the traditional php string or pcre functions or -that the length of the string will be miscalculated. -There's an experimental utf-8 patch on the sf.net patches site if you want to try that. -See http://phpwiki.org/Utf8Migration - Word Reordering --------------- Different languages have different word ordering requirements. When a @@ -216,26 +199,27 @@ Use action=PageDump - "Preview as developer format" for this. Example: - Date: Sun, 27 Jan 2002 17:28:55 -0500 - Mime-Version: 1.0 (Produced by PhpWiki 1.3.2-jeffs-hacks) + Date: Sat, 4 Jul 2009 19:09:38 +0000 + Mime-Version: 1.0 (Produced by PhpWiki 1.3.11pre) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; - pagename=Neueste%C4nderungen; - flags=PAGE_LOCKED; - charset=iso-8859-1 + pagename=G%C3%A4steBuch; + flags=""; + markup=2; + charset=utf-8 Content-Transfer-Encoding: binary - Make sure to rename files with accents in the page name converted to uppercase hex codes as shown in the pagename= line of the Content-Type header. - (e.g. "GästeBuch" => "G%E4steBuch") + (e.g. "GästeBuch" => "G%C3%A4steBuch") - Translate body text and rename plugin pages to match changes - specified in the '.po' file. Leave plugin code as english. + specified in the '.po' file. Leave plugin code as English. Example: - <?plugin RecentChanges days||=30 show_all||=0 show_minor||=0 ?> + <<RecentChanges days||=30 show_all||=0 show_minor||=0 >> </FIXME> Modified: trunk/locale/README.de.txt =================================================================== --- trunk/locale/README.de.txt 2009-07-05 19:07:26 UTC (rev 6997) +++ trunk/locale/README.de.txt 2009-07-06 13:48:55 UTC (rev 6998) @@ -17,7 +17,7 @@ Beachten Sie bei der weiteren Bearbeitung bitte, dass Sie die Datei: phpwiki/locale/de/LC_MESSAGES/phpwiki.php direkt nicht editieren sollten, sondern vielmehr folgende: phpwiki/locale/po/de.po. Achten -Sie auch darauf, diese Datei mit ISO-8859-1 abzuspeichern (nicht mit +Sie auch darauf, diese Datei mit UTF-8 abzuspeichern (nicht mit ISO-8859-1, Macintosh-Charset oder Windows-1252), sonst fehlen die Umlaute und das nach älterer Schreibweise noch gebräuchliche scharfe S bzw. Sz "ß". @@ -41,4 +41,4 @@ damit dann für alle PhpWiki-Benutzer zugänglich und wirksam. -- CarstenKlapp <car...@us...> - Reini Urban \ No newline at end of file + Reini Urban This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |