]> git.uio.no Git - check_openmanage.git/commitdiff
use ascii codes for degree symbol to avoid unicode confusion
authorTrond Hasle Amundsen <t.h.amundsen@usit.uio.no>
Thu, 6 Dec 2012 16:33:40 +0000 (17:33 +0100)
committerTrond Hasle Amundsen <t.h.amundsen@usit.uio.no>
Thu, 6 Dec 2012 16:33:40 +0000 (17:33 +0100)
check_openmanage.php

index 0b19c5c469dac444d5aff6df305cd48c1aa5440e..e848e2dfc7e9dbb56e5877e7e189fda45fcbfbee 100644 (file)
@@ -67,11 +67,11 @@ if (!defined('tempunit_defined')) {
        switch ($arg) {
        default:
            $vlabel = "Celsius";
-           $unit = "°C";
+           $unit = "\xc2\xb0C";
            break;
        case "F":
            $vlabel = "Fahrenheit";
-           $unit = "°F";
+           $unit = "\xc2\xb0F";
            break;
        case "K":
            $vlabel = "Kelvin";
@@ -79,7 +79,7 @@ if (!defined('tempunit_defined')) {
            break;
        case "R":
            $vlabel = "Rankine";
-           $unit = "°R";
+           $unit = "\xc2\xb0R";
            break;
        }
        return array($unit, $vlabel);