From: <var...@us...> - 2009-03-26 12:32:23
|
Revision: 6716 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6716&view=rev Author: vargenau Date: 2009-03-26 12:32:01 +0000 (Thu, 26 Mar 2009) Log Message: ----------- Use UTF-8 so that display is correct on sf.net Modified Paths: -------------- trunk/lib/HttpClient.php trunk/lib/PageList.php trunk/lib/WikiDB/adodb/adodb-lib.inc.php trunk/lib/WikiDB/adodb/adodb.inc.php trunk/lib/WikiDB/adodb/drivers/adodb-oci8.inc.php trunk/lib/WikiPluginCached.php trunk/lib/XmlRpcServer.php trunk/lib/config.php trunk/lib/display.php trunk/lib/fpdf.php trunk/lib/imagecache.php trunk/lib/pdf.php trunk/lib/pear/DB/sybase.php trunk/lib/plugin/CacheTest.php trunk/lib/plugin/CalendarList.php trunk/lib/plugin/RecentChanges.php trunk/lib/plugin/RecentChangesCached.php trunk/lib/plugin/TexToPng.php trunk/lib/plugin/VisualWiki.php trunk/lib/wikilens/CustomPrefs.php Modified: trunk/lib/HttpClient.php =================================================================== --- trunk/lib/HttpClient.php 2009-03-26 11:02:27 UTC (rev 6715) +++ trunk/lib/HttpClient.php 2009-03-26 12:32:01 UTC (rev 6716) @@ -5,7 +5,7 @@ Version 0.9, 6th April 2003 - Simon Willison ( http://simon.incutio.com/ ) Manual: http://scripts.incutio.com/httpclient/ - Copyright \xA9 2003 Incutio Limited + Copyright © 2003 Incutio Limited License: http://www.opensource.org/licenses/artistic-license.php File upload and xmlrpc support by Reini Urban for PhpWiki, 2006-12-28 18:12:47 Modified: trunk/lib/PageList.php =================================================================== --- trunk/lib/PageList.php 2009-03-26 11:02:27 UTC (rev 6715) +++ trunk/lib/PageList.php 2009-03-26 12:32:01 UTC (rev 6716) @@ -371,7 +371,7 @@ $this->search = $HTTP_POST_VARS['admin_replace']['from']; } $this->_heading .= sprintf(_(" ... around %s"), - '\xBB'.$this->search.'\xAB'); + '»'.$this->search.'«'); } } @@ -409,7 +409,7 @@ if (strpos($c," ")) $c = ""; else - $c = sprintf(_("%s not found"), '\xBB'.$search.'\xAB'); + $c = sprintf(_("%s not found"), '»'.$search.'«'); return HTML::div(array('style' => 'font-size:x-small','align'=>'center'), $c." ".($score ? sprintf("[%0.1f]",$score):"")); } Modified: trunk/lib/WikiDB/adodb/adodb-lib.inc.php =================================================================== --- trunk/lib/WikiDB/adodb/adodb-lib.inc.php 2009-03-26 11:02:27 UTC (rev 6715) +++ trunk/lib/WikiDB/adodb/adodb-lib.inc.php 2009-03-26 12:32:01 UTC (rev 6716) @@ -296,7 +296,7 @@ return $rsreturn; } -// Iv\xE1n Oliva version +// Iván Oliva version function &_adodb_pageexecute_no_last_page(&$zthis, $sql, $nrows, $page, $inputarr=false, $secs2cache=0) { Modified: trunk/lib/WikiDB/adodb/adodb.inc.php =================================================================== --- trunk/lib/WikiDB/adodb/adodb.inc.php 2009-03-26 11:02:27 UTC (rev 6715) +++ trunk/lib/WikiDB/adodb/adodb.inc.php 2009-03-26 12:32:01 UTC (rev 6716) @@ -2191,7 +2191,7 @@ /** * Will select the supplied $page number from a recordset, given that it is paginated in pages of * $nrows rows per page. It also saves two boolean values saying if the given page is the first - * and/or last one of the recordset. Added by Iv\xE1n Oliva to provide recordset pagination. + * and/or last one of the recordset. Added by Iván Oliva to provide recordset pagination. * * See readme.htm#ex8 for an example of usage. * @@ -2218,7 +2218,7 @@ /** * Will select the supplied $page number from a recordset, given that it is paginated in pages of * $nrows rows per page. It also saves two boolean values saying if the given page is the first - * and/or last one of the recordset. Added by Iv\xE1n Oliva to provide recordset pagination. + * and/or last one of the recordset. Added by Iván Oliva to provide recordset pagination. * * @param secs2cache seconds to cache data, set to 0 to force query * @param sql @@ -2325,9 +2325,9 @@ var $_obj; /** Used by FetchObj */ var $_names; /** Used by FetchObj */ - var $_currentPage = -1; /** Added by Iv\xE1n Oliva to implement recordset pagination */ - var $_atFirstPage = false; /** Added by Iv\xE1n Oliva to implement recordset pagination */ - var $_atLastPage = false; /** Added by Iv\xE1n Oliva to implement recordset pagination */ + var $_currentPage = -1; /** Added by Iván Oliva to implement recordset pagination */ + var $_atFirstPage = false; /** Added by Iván Oliva to implement recordset pagination */ + var $_atLastPage = false; /** Added by Iván Oliva to implement recordset pagination */ var $_lastPageNo = -1; var $_maxRecordCount = 0; var $datetime = false; Modified: trunk/lib/WikiDB/adodb/drivers/adodb-oci8.inc.php =================================================================== --- trunk/lib/WikiDB/adodb/drivers/adodb-oci8.inc.php 2009-03-26 11:02:27 UTC (rev 6715) +++ trunk/lib/WikiDB/adodb/drivers/adodb-oci8.inc.php 2009-03-26 12:32:01 UTC (rev 6716) @@ -27,8 +27,8 @@ yy-mm-dd or yyyy-mm-dd. Using 'RR' in the format forces two-digit years less than or equal to 49 to be -interpreted as years in the 21st century (2000\x962049), and years over 50 as years in -the 20th century (1950\x961999). Setting the RR format as the default for all two-digit +interpreted as years in the 21st century (2000-2049), and years over 50 as years in +the 20th century (1950-1999). Setting the RR format as the default for all two-digit year entries allows you to become year-2000 compliant. For example: NLS_DATE_FORMAT='RR-MM-DD' @@ -1183,4 +1183,4 @@ } } } -?> \ No newline at end of file +?> Modified: trunk/lib/WikiPluginCached.php =================================================================== --- trunk/lib/WikiPluginCached.php 2009-03-26 11:02:27 UTC (rev 6715) +++ trunk/lib/WikiPluginCached.php 2009-03-26 12:32:01 UTC (rev 6716) @@ -1,6 +1,6 @@ <?php rcs_id('$Id$'); /* - Copyright (C) 2002 Johannes Gro\xDFe (Johannes Große) + Copyright (C) 2002 Johannes Große Copyright (C) 2004,2007 Reini Urban This file is part of PhpWiki. @@ -54,7 +54,7 @@ * <li>plugin/Ploticus.php</li> * </ul> * - * @author Johannes Gro\xDFe, Reini Urban + * @author Johannes Große, Reini Urban */ class WikiPluginCached extends WikiPlugin { Modified: trunk/lib/XmlRpcServer.php =================================================================== --- trunk/lib/XmlRpcServer.php 2009-03-26 11:02:27 UTC (rev 6715) +++ trunk/lib/XmlRpcServer.php 2009-03-26 12:32:01 UTC (rev 6716) @@ -842,36 +842,36 @@ Faults If an error condition occurs, then the appropriate fault code from the following list should be used. Clients can quickly determine - the kind of error from bits 5-8. 0\xD7001x fault codes are used for - problems with the source URI, 0\xD7002x codes are for problems with - the target URI, and 0\xD7003x codes are used when the URIs are fine + the kind of error from bits 5-8. 0×001x fault codes are used for + problems with the source URI, 0×002x codes are for problems with + the target URI, and 0×003x codes are used when the URIs are fine but the pingback cannot be acknowledged for some other reaon. 0 A generic fault code. Servers MAY use this error code instead of any of the others if they do not have a way of determining the correct fault code. - 0\xD70010 (16) + 0×0010 (16) The source URI does not exist. - 0\xD70011 (17) + 0×0011 (17) The source URI does not contain a link to the target URI, and so cannot be used as a source. - 0\xD70020 (32) + 0×0020 (32) The specified target URI does not exist. This MUST only be used when the target definitely does not exist, rather than when the target may exist but is not recognised. See the next error. - 0\xD70021 (33) + 0×0021 (33) The specified target URI cannot be used as a target. It either doesn't exist, or it is not a pingback-enabled resource. For example, on a blog, typically only permalinks are pingback-enabled, and trying to pingback the home page, or a set of posts, will fail with this error. - 0\xD70030 (48) + 0×0030 (48) The pingback has already been registered. - 0\xD70031 (49) + 0×0031 (49) Access denied. - 0\xD70032 (50) + 0×0032 (50) The server could not communicate with an upstream server, or received an error from an upstream server, and therefore could not complete the request. This is similar to HTTP's 402 Bad Modified: trunk/lib/config.php =================================================================== --- trunk/lib/config.php 2009-03-26 11:02:27 UTC (rev 6715) +++ trunk/lib/config.php 2009-03-26 12:32:01 UTC (rev 6716) @@ -224,7 +224,7 @@ 'german', 'ge'), 'es' => array('es_ES', 'es_MX', 'es_AR', 'spanish'), 'nl' => array('nl_NL', 'dutch'), - 'fr' => array('fr_FR', 'fran\xE7ais', 'french'), + 'fr' => array('fr_FR', 'français', 'french'), 'it' => array('it_IT'), 'sv' => array('sv_SE'), 'ja.utf-8' => array('ja_JP','ja_JP.utf-8','japanese'), @@ -307,7 +307,7 @@ } // To get the POSIX character classes in the PCRE's (e.g. - // [[:upper:]]) to match extended characters (e.g. Gr\xFC\xDFGott), we have + // [[:upper:]]) to match extended characters (e.g. GrüßGott), we have // to set the locale, using setlocale(). // // The problem is which locale to set? We would like to recognize all @@ -387,7 +387,7 @@ // this replaces [[:upper:]] with utf-8 match (Latin only) $regexp = preg_replace('/\[\[\:upper\:\]\]/','(?:[A-Z]|\xc3[\x80-\x9e]|\xc4[\x80\x82\x84\x86])', $regexp); - } elseif (preg_match('/[[:upper:]]/', '\xC4')) { + } elseif (preg_match('/[[:upper:]]/', 'Ä')) { // First check to see if our PCRE lib supports POSIX character // classes. If it does, there's nothing to do. return $regexp; Modified: trunk/lib/display.php =================================================================== --- trunk/lib/display.php 2009-03-26 11:02:27 UTC (rev 6715) +++ trunk/lib/display.php 2009-03-26 12:32:01 UTC (rev 6716) @@ -137,7 +137,7 @@ $request->setArg('zipname', FilenameForPage($pagename).".zip"); $request->setArg('pages', $args['VALID_LINKS']); MakeWikiZipHtml($request); - } // time-sorted RDF \xE1 la RecentChanges + } // time-sorted RDF á la RecentChanges elseif (in_array($format, array("rss91","rss2","rss","atom"))) { $args = $request->getArgs(); if ($pagename == _("RecentChanges")) { Modified: trunk/lib/fpdf.php =================================================================== --- trunk/lib/fpdf.php 2009-03-26 11:02:27 UTC (rev 6715) +++ trunk/lib/fpdf.php 2009-03-26 12:32:01 UTC (rev 6716) @@ -1356,7 +1356,7 @@ function _parsegif ($file) { - //Function by J\xE9r\xF4me Fenal + //Function by Jérôme Fenal //GIF class in pure PHP from Yamasoft (http://www.yamasoft.com/php-gif.zip) require_once 'lib/gif.php'; Modified: trunk/lib/imagecache.php =================================================================== --- trunk/lib/imagecache.php 2009-03-26 11:02:27 UTC (rev 6715) +++ trunk/lib/imagecache.php 2009-03-26 12:32:01 UTC (rev 6716) @@ -1,6 +1,6 @@ <?php rcs_id('$Id$'); /* - Copyright (C) 2002 Johannes Gro\xDFe (Johannes Große) + Copyright (C) 2002 Johannes Große This file is part of PhpWiki. @@ -21,7 +21,7 @@ /** * Gets an image from the cache and prints it to the browser. * This file belongs to WikiPluginCached. - * @author Johannes Gro\xDFe + * @author Johannes Große * @version 0.8 */ @@ -166,4 +166,4 @@ // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil // End: -?> \ No newline at end of file +?> Modified: trunk/lib/pdf.php =================================================================== --- trunk/lib/pdf.php 2009-03-26 11:02:27 UTC (rev 6715) +++ trunk/lib/pdf.php 2009-03-26 12:32:01 UTC (rev 6716) @@ -2,7 +2,7 @@ rcs_id('$Id$'); /* Copyright (C) 2003 Olivier PLATHEY - Copyright (C) 200? Don Seb\xE0 + Copyright (C) 200? Don Sebà Copyright (C) 2004,2006,2007 Reini Urban This file is part of PhpWiki. Modified: trunk/lib/pear/DB/sybase.php =================================================================== --- trunk/lib/pear/DB/sybase.php 2009-03-26 11:02:27 UTC (rev 6715) +++ trunk/lib/pear/DB/sybase.php 2009-03-26 12:32:01 UTC (rev 6716) @@ -14,7 +14,7 @@ // | li...@ph... so we can mail you a copy immediately. | // +----------------------------------------------------------------------+ // | Authors: Sterling Hughes <ste...@ph...> | -// | Ant\xF4nio Carlos Ven\xE2ncio J\xFAnior <fl...@ph...> | +// | Antônio Carlos Venâncio Júnior <fl...@ph...> | // | Maintainer: Daniel Convissor <da...@ph...> | // +----------------------------------------------------------------------+ // @@ -36,7 +36,7 @@ * @version $Id$ * @category Database * @author Sterling Hughes <ste...@ph...> - * @author Ant\xF4nio Carlos Ven\xE2ncio J\xFAnior <fl...@ph...> + * @author Antônio Carlos Venâncio Júnior <fl...@ph...> */ class DB_sybase extends DB_common { Modified: trunk/lib/plugin/CacheTest.php =================================================================== --- trunk/lib/plugin/CacheTest.php 2009-03-26 11:02:27 UTC (rev 6715) +++ trunk/lib/plugin/CacheTest.php 2009-03-26 12:32:01 UTC (rev 6716) @@ -7,7 +7,7 @@ // | text to image conversion. | // | This is a usage example of WikiPluginCached. | // | | -// | Copyright (C) 2002 Johannes Gro\xDFe (Johannes Große) | +// | Copyright (C) 2002 Johannes Große (Johannes Große) | // | You may copy this code freely under the conditions of the GPL | // +---------------------------------------------------------------------+ Modified: trunk/lib/plugin/CalendarList.php =================================================================== --- trunk/lib/plugin/CalendarList.php 2009-03-26 11:02:27 UTC (rev 6715) +++ trunk/lib/plugin/CalendarList.php 2009-03-26 12:32:01 UTC (rev 6716) @@ -37,7 +37,7 @@ * This is a list of calendar appointments. * Same arguments as Calendar, so no one is confused * Uses <dl><dd>DATE<dt>page contents... - * Derived from Calendar.php by Martin Norb\xE4ck <ma...@sa...> + * Derived from Calendar.php by Martin Norbäck <ma...@sa...> * * Insert this plugin into your Calendar page, for example in WikiUser/Calendar: * <?plugin Calendar ?> Modified: trunk/lib/plugin/RecentChanges.php =================================================================== --- trunk/lib/plugin/RecentChanges.php 2009-03-26 11:02:27 UTC (rev 6715) +++ trunk/lib/plugin/RecentChanges.php 2009-03-26 12:32:01 UTC (rev 6716) @@ -311,12 +311,12 @@ * overlapping ideal word cutting points. * * en: day/days "The %d most recent %s [during (the past] day) are listed below." - * de: 1 Tag "Die %d j\xFCngste %s [innerhalb (von des letzten] Tages) sind unten aufgelistet." - * de: %s days "Die %d j\xFCngste %s [innerhalb (von] %s Tagen) sind unten aufgelistet." + * de: 1 Tag "Die %d jüngste %s [innerhalb (von des letzten] Tages) sind unten aufgelistet." + * de: %s days "Die %d jüngste %s [innerhalb (von] %s Tagen) sind unten aufgelistet." * * en: day/days "The %d most recent %s during [the past] (day) are listed below." - * fr: 1 jour "Les %d %s les plus r\xE9centes pendant [le dernier (d'une] jour) sont \xE9num\xE9r\xE9es ci-dessous." - * fr: %s jours "Les %d %s les plus r\xE9centes pendant [les derniers (%s] jours) sont \xE9num\xE9r\xE9es ci-dessous." + * fr: 1 jour "Les %d %s les plus récentes pendant [le dernier (d'une] jour) sont énumérées ci-dessous." + * fr: %s jours "Les %d %s les plus récentes pendant [les derniers (%s] jours) sont énumérées ci-dessous." */ if ($limit > 0) { if ($timespan) { Modified: trunk/lib/plugin/RecentChangesCached.php =================================================================== --- trunk/lib/plugin/RecentChangesCached.php 2009-03-26 11:02:27 UTC (rev 6715) +++ trunk/lib/plugin/RecentChangesCached.php 2009-03-26 12:32:01 UTC (rev 6716) @@ -23,7 +23,7 @@ // +---------------------------------------------------------------------+ // | WikiPluginCached.php | // +---------------------------------------------------------------------+ -// | Copyright (C) 2002 Johannes Gro\xDFe (Johannes Große) | +// | Copyright (C) 2002 Johannes Große | // | You may copy this code freely under the conditions of the GPL | // +---------------------------------------------------------------------+ Modified: trunk/lib/plugin/TexToPng.php =================================================================== --- trunk/lib/plugin/TexToPng.php 2009-03-26 11:02:27 UTC (rev 6715) +++ trunk/lib/plugin/TexToPng.php 2009-03-26 12:32:01 UTC (rev 6716) @@ -28,7 +28,7 @@ // | engines into a gif, png or jpeg file. | // | TexToPng is usage example for WikiPluginCached. | // | | -// | Copyright (C) 2002 Johannes Gro\xDFe (Johannes Große) | +// | Copyright (C) 2002 Johannes Große (Johannes Große) | // | You may copy this code freely under the conditions of the GPL | // +---------------------------------------------------------------------+ Modified: trunk/lib/plugin/VisualWiki.php =================================================================== --- trunk/lib/plugin/VisualWiki.php 2009-03-26 11:02:27 UTC (rev 6715) +++ trunk/lib/plugin/VisualWiki.php 2009-03-26 12:32:01 UTC (rev 6716) @@ -1,7 +1,7 @@ <?php // -*-php-*- rcs_id('$Id$'); /* - Copyright (C) 2002 Johannes Gro\xDFe (Johannes Große) + Copyright (C) 2002 Johannes Große (Johannes Große) This file is part of PhpWiki. @@ -25,7 +25,7 @@ * Example for an image map creating plugin. It produces a graphical * sitemap of PhpWiki by calling the <code>dot</code> commandline tool * from graphviz (http://www.graphviz.org). - * @author Johannes Gro\xDFe + * @author Johannes Große * @version 0.9 */ /* define('VISUALWIKI_ALLOWOPTIONS', true); */ Modified: trunk/lib/wikilens/CustomPrefs.php =================================================================== --- trunk/lib/wikilens/CustomPrefs.php 2009-03-26 11:02:27 UTC (rev 6715) +++ trunk/lib/wikilens/CustomPrefs.php 2009-03-26 12:32:01 UTC (rev 6716) @@ -32,7 +32,7 @@ 'itemProb', // Item-based Top-N recommendation algorithm with probability-based similarity function. // This algorithms tends to outperform the rest. 'userCos', // User-based Top-N recommendation algorithm with cosine-based similarity function. - 'bayes'); // Na\xEFve Bayesian Classifier + 'bayes'); // Naïve Bayesian Classifier var $default_value = 'itemProb'; function sanify ($value) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |