You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2012-11-23 04:43:28

bingleng198710
Member
Registered: 2012-07-27
Posts: 5

GLPI 0.83.6 export *.slk *.csv, chinese display garbled character

Hello,

I used GLPI version 0.83.6. The Chinese display normal in UTF8.
Excel can't recognize UTF8 code as default. I export data in slk file, the Chinese display garbled character.
Test1:
windows xp with Chinise(PRC) Unicode language
If I open the *.slk or *.csv file with notepad and save as new *.slk or *.csv file with encoding ANSI, the Chinese can display normal in excel, column and row format is normal in excel.
If I open the *.slk or *.csv file with notepad and save as new *.slk or *.csv file with encoding Unicode, the Chinese can display normal in excel, but the column and row format will change in excel.
Test2:
windows xp with English(United States) Unicode language
If I open the *.slk or *.csv file with notepad and save as new *.slk or *.csv file with encoding Unicode, the Chinese can display normal in excel, but the column and row format will change in excel.
If If I open the *.slk or *.csv file with notepad and save as new *.slk or *.csv file with encoding ANSI, it prompt i will lost some Unicode, continue to save it, Chinese display abnormal, column and row format is normal.

test.slk open with notepad encoding UTF-8:

ID;PGLPI_EXPORT

P;PGeneral
P;P#,##0.00
P;P#,##0
P;P@

P;EArial;M200
P;EArial;M200
P;EArial;M200
P;FArial;M200;SB

B;Y21;X7

F;W1 1 0
F;W2 2 10
F;W3 3 10
F;W4 4 9
F;W5 5 10
F;W6 6 9
F;W7 7 8
F;W8 8 8
F;W9 9 10
F;W10 10 11
F;W11 11 9
F;W12 12 11
F;W13 13 11

F;SDM4;FG0C;Y1;X1
C;N;K""

F;SDM4;FG0C;X2
C;N;K"票单数量 - 打开的"

F;SDM4;FG0C;X3
C;N;K"票单数量 - 已解决"

F;SDM4;FG0C;X4
C;N;K"票单数量 - 之后"

F;SDM4;FG0C;X5
C;N;K"票单数量 - 关闭的"

F;SDM4;FG0C;X6
C;N;K"满意度 - 打开的"

F;SDM4;FG0C;X7
C;N;K"满意度 - 答案"

F;SDM4;FG0C;X8
C;N;K"满意度 - 平均"

F;SDM4;FG0C;X9
C;N;K"平均时间 - 考虑到"

F;SDM4;FG0C;X10
C;N;K"平均时间 - 解决方案"

F;SDM4;FG0C;X11
C;N;K"平均时间 - 关闭"

F;SDM4;FG0C;X12
C;N;K"票单真实时段 - 平均"

F;SDM4;FG0C;X13
C;N;K"票单真实时段 - 共计"

E

Best regards for you!

Offline

#2 2012-11-27 09:09:52

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: GLPI 0.83.6 export *.slk *.csv, chinese display garbled character

Try using libreoffice or openoffice because MS office have trouble with UTF8 chars


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#3 2015-05-21 11:02:04

KKAdmin
Member
From: Germany
Registered: 2010-03-05
Posts: 959

Re: GLPI 0.83.6 export *.slk *.csv, chinese display garbled character

Other solution ?
We would like to use ms office.

Problem in 0.85.4 not solved.


Workaround:
- We export glpi data with slk option.
- Open with notepad++
- Mark the complete text
- convert to ansi
- save
- open slk in ms office
- Now i'm happy but not perfect. (Tested with german chars)

Last edited by KKAdmin (2015-05-21 11:17:03)


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3

Offline

Board footer

Powered by FluxBB