View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009925 | mantisbt | localization | public | 2008-12-01 22:13 | 2009-06-23 15:26 |
Reporter | archonfx | Assigned To | siebrand | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.0a2 | ||||
Fixed in Version | 1.2.0rc1 | ||||
Summary | 0009925: Export to excel encoding problem | ||||
Description | If the DB saves data in UTF8, then "exporting to excel" will output wrong encoded characters(for multi-bytes characters such as Chinese or Japanese). I find that, this problem is caused by this function "excel_prepare_string()" in "excel_api.php:
This is not correct if the DB saves data in UTF8. In such case, it should be:
I think you should judge the DB encoding before doing the utf8_encode. | ||||
Steps To Reproduce |
You can find the bug. | ||||
Additional Information | some Chinese characters for example: ???????? | ||||
Tags | No tags attached. | ||||