svn: /web/php-news/trunk/ article.php

From: Date: Mon, 01 Aug 2011 14:54:48 +0000
Subject: svn: /web/php-news/trunk/ article.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-11820@lists.php.net to get a copy of this message
shein Mon, 01 Aug 2011 14:54:48 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=314049 Log: The code is now compatible to PHP 4 (which is still used on the server, arghh). Changed paths: U web/php-news/trunk/article.php Modified: web/php-news/trunk/article.php =================================================================== --- web/php-news/trunk/article.php 2011-08-01 14:53:11 UTC (rev 314048) +++ web/php-news/trunk/article.php 2011-08-01 14:54:48 UTC (rev 314049) @@ -155,7 +155,7 @@ // we can't convert it to UTF, because cvs commits don't have charset info // so its preferable to leave it as-is, and let users choose the correct charset // in their browser. this is specially important for php.doc.* groups - if ($charset && stripos($charset, 'utf-8') === false) { + if ($charset && strpos(strtolower($charset), 'utf-8') === false) { $line = to_utf8($line, $charset); }

« previous php.webmaster (#11820) next »