r1732 + renderLVSConfig(): be UTF-8 aware, when generating a config for keepalived
authorDenis Ovsienko <infrastation@yandex.ru>
Tue, 26 Feb 2008 17:26:23 +0000 (17:26 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Tue, 26 Feb 2008 17:26:23 +0000 (17:26 +0000)
inc/interface.php

index 13275f6a6cd861ea9e8089faf5af81fee512bda8..8a6b0813ca5c1e8758670c111f01ead125341b7d 100644 (file)
@@ -3794,7 +3794,7 @@ function renderLVSConfig ($object_id = 0)
        }
        if (isset ($_REQUEST['do_activate']))
        {
-               printLog (activateSLBConfig ($object_id, html_entity_decode ($newconfig, ENT_QUOTES)));
+               printLog (activateSLBConfig ($object_id, html_entity_decode ($newconfig, ENT_QUOTES, 'UTF-8')));
        }
        echo "<form method=post action=${root}>";
        echo "<input type=hidden name=page value=${pageno}>";