diff --git a/html/includes/table/devices.inc.php b/html/includes/table/devices.inc.php
index 02c2b925e..83dd18b28 100644
--- a/html/includes/table/devices.inc.php
+++ b/html/includes/table/devices.inc.php
@@ -155,7 +155,7 @@ foreach (dbFetchRows($sql, $param) as $device) {
$hostname = generate_device_link($device);
$platform = $device['hardware'] . '
' . $device['features'];
$os = $device['os_text'] . '
' . $device['version'];
- $uptime = formatUptime($device['uptime'], 'short') . '
' . truncate($device['location'],32, '');
+ $uptime = formatUptime($device['uptime'], 'short') . '
' . mb_substr($device['location'], 0, 32, 'utf8');
if ($subformat == "detail") {
$hostname .= '
' . $device['sysName'];
if ($port_count) {