View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011360 | mantisbt | csv | public | 2010-01-08 02:01 | 2011-08-05 02:12 |
Reporter | rerbin | Assigned To | atrol | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | duplicate | ||
Product Version | 1.2.0rc2 | ||||
Summary | 0011360: When i use Chinese language,the exported CSV file can not be displayed correctly in the Microsoft Excel | ||||
Description | please see the attachments. I think maybe there are some charset or encode errors. I find some infomation from the Chinese web sites to fix the errors: add function: function expChangeCode($str) Modify three lines of the file csv_export.php Modify "echo $t_header" Modify "echo $t_value" Modify "echo $t_function( $t_row[ $t_column ] );" | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
the CSV Export is wrong,see the file csv.png;the Excel Export is right,see the file xml.png |
|
both the CSV Export and the Excel Export, when the project name contain the Chinese words the exported file's name is not correctly |
|
In the attachments,my project name is 完善mantis |
|
It's important,can anybody do a fix? |
|
Two comments here... shamelessly bumping your own ticket in hopes more people will see it, is well shameless. There are forums as well, and those are better suited for fast turn-around. Now, my constructive comment. I'm running a japanese installation and have this problem as well, but the issue may not be a mantis issue but rather an Excel issue. The generated csv file is generated CORRECTLY if you look at it in any other editor besides Excel, i.e. Notepad++ or even basic notepad. That would leave me to believe that excel is expecting some character encoding somewhere and isn't getting it, cause it's a csv file. Workaround: do a csv export and then rename to the file extension from "csv" to "txt" and open in excel. It should get properly detected as UTF-8 and will render correctly in excel. |
|
ha... even better this ticket is a duplicate of 0009034 |
|