Project

General

Profile

Actions

Defect #1249

closed

在生成PDF文件时,中文出现乱码

Added by zongshui Xiao almost 16 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
PDF export
Target version:
-
Start date:
2008-05-17
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

UTF-8是每个中文字是3个字节,而在\redmine\vendor\plugins\rfpdf\lib\rfpdf\chinese.rb文件中的第232行:i+=ascii ? 1 : 2,应该是i+=ascii ? 1 : 3
这样经过测试,问题解决。


Files

language_selection.png (18.1 KB) language_selection.png Junyu Jiang, 2012-08-21 09:53
rd-274.pdf (309 KB) rd-274.pdf user language english , export with chinese Maxime Vez, 2013-11-14 09:26

Related issues

Is duplicate of Redmine - Defect #13781: CJK(Chinese/Japanese/Korean) characters are not shown in PDF on non CJK localesClosed

Actions
Actions

Also available in: Atom PDF