From 401822248f557883ca5a94868ad898c252dff1f1 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Wed, 22 May 2013 17:34:48 -0500 Subject: [PATCH] Fixes encoding issue with jqgrid - closes #6159 --- main/inc/lib/display.lib.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main/inc/lib/display.lib.php b/main/inc/lib/display.lib.php index 9d0b01f297..5b1297586d 100644 --- a/main/inc/lib/display.lib.php +++ b/main/inc/lib/display.lib.php @@ -852,7 +852,9 @@ class Display { $obj->url = $url; } - $column_names = array_map("utf8_encode", $column_names); + //This line should only be used/modified in case of having characters + // encoding problems - see #6159 + //$column_names = array_map("utf8_encode", $column_names); $obj->colNames = $column_names; $obj->colModel = $column_model;