From 86dbee671e17bf1cf206bab9474df4d595471663 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Tue, 31 Mar 2009 01:07:40 +0200 Subject: [PATCH] Fix #0007472: [th] Thai chars are broken on Excel export; column header doesn't show --- core/excel_api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/excel_api.php b/core/excel_api.php index 072657b9b5..8035d2b5ef 100644 --- a/core/excel_api.php +++ b/core/excel_api.php @@ -122,7 +122,7 @@ function excel_prepare_string( $p_value ) { $t_value = str_replace( "\n", ' ', $t_value ); $t_value = str_replace( "<", "<", $t_value ); $t_value = str_replace( ">", ">", $t_value ); - $t_ret .= utf8_encode( $t_value ); + $t_ret .= $t_value; $t_ret .= "\n"; return $t_ret;