Robin wrote:
>
> zif_mb_detect_encoding () from /usr/lib/apache2/modules/libphp4.so
Certain multibyte functions are known to be less than reliable in the 4.3
branch, unfortunately. I'll look into this a bit later, but until then,
this simple patch to /usr/share/websvn/include/svnlook.inc should make
everything all better again:
-=-=-=-=-=-=-=-=-=-=-
--- svnlook.inc 2004-08-30 02:55:25.000000000 -0600
+++ svnlook.inc.new 2005-04-19 00:46:41.000000000 -0600
@@ -66,7 +66,7 @@
$parts = explode('/', $uri);
for ($i = 0; $i < count($parts); $i++)
{
- if ( function_exists("mb_detect_encoding") &&
function_exists("mb_convert_encoding"))
+ if ( version_compare(phpversion(), "5.0.0", "ge") &&
function_exists("mb_detect_encoding") &&
function_exists("mb_convert_encoding"))
{
$parts[$i] = mb_convert_encoding($parts[$i], "UTF-8",
mb_detect_encoding($parts[$i]));
}
-=-=-=-=-=-=-=-=-=-=-
... Adam
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]