Skip to content

Commit

Permalink
Fix #0007472: [th] Thai chars are broken on Excel export; column head…
Browse files Browse the repository at this point in the history
…er doesn't show
  • Loading branch information
siebrand committed Mar 30, 2009
1 parent 52e1580 commit 86dbee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/excel_api.php
Expand Up @@ -122,7 +122,7 @@ function excel_prepare_string( $p_value ) {
$t_value = str_replace( "\n", '
', $t_value );
$t_value = str_replace( "<", "&lt;", $t_value );
$t_value = str_replace( ">", "&gt;", $t_value );
$t_ret .= utf8_encode( $t_value );
$t_ret .= $t_value;
$t_ret .= "</Data></Cell>\n";

return $t_ret;
Expand Down

0 comments on commit 86dbee6

Please sign in to comment.