From 8f85f74c0755f6483b9f319b95dbb109c38805f9 Mon Sep 17 00:00:00 2001 From: vargenau Date: Mon, 6 Jul 2009 13:48:55 +0000 Subject: [PATCH] Files are now in UTF-8 git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@6998 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- locale/README | 38 +++++++++++--------------------------- locale/README.de.txt | 4 ++-- 2 files changed, 13 insertions(+), 29 deletions(-) diff --git a/locale/README b/locale/README index c1c55f759..b105261f2 100644 --- a/locale/README +++ b/locale/README @@ -96,26 +96,9 @@ a handy "po translation mode" for you. See README.coding in the doc folder. 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. - -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 +editor you use is capable of handling UTF-8 text. Word Reordering --------------- @@ -216,26 +199,27 @@ before you can edit them. 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: - + <> diff --git a/locale/README.de.txt b/locale/README.de.txt index 8eb0fa07d..c7542268f 100644 --- a/locale/README.de.txt +++ b/locale/README.de.txt @@ -17,7 +17,7 @@ http://phpwiki.sf.net/nightly/phpwiki.nightly.tar.gz 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 @@ ihrer Gesamtheit ins PhpWiki-CVS (auf Sourceforge) eingesetzt und damit dann für alle PhpWiki-Benutzer zugänglich und wirksam. -- CarstenKlapp - Reini Urban \ No newline at end of file + Reini Urban -- 2.45.0