Defect #4490
closed
Repository—>View show disordered with GBK(Chinese) code.
Added by Lei Wang over 15 years ago.
Updated about 14 years ago.
Description
Here are some display problems, on the Chinese code.
Shown as the image "GBKcode.png".
The file ("testcode3.txt") is GBK code, has been commited with TSVN. When I view the code of this file on Redmine's Repository,it's Disordered.
This problem has been troubled me two weeks!
I learn Trac and Redmine for 3 weeks, install it step by step with the packet which their needs. AND I was so shocked by their strong for the great idear that all of them can connect with SVN. Redmine is more powered then Trac for the User-friendly degree, but the Chinese CODE.
So I urge you for help!
— a Chinese boy
Files
GBKcode.png (33.3 KB)
GBKcode.png |
|
Lei Wang, 2009-12-27 14:54
|
|
testcode3.txt (142 Bytes)
testcode3.txt |
|
Lei Wang, 2009-12-27 14:54
|
|
changeset_r13.diff (244 Bytes)
changeset_r13.diff |
|
Lei Wang, 2009-12-27 14:54
|
|
test.hg (933 Bytes)
test.hg |
|
Toshi MARUYAMA, 2011-02-05 06:42
|
|
testcode3.txt.png (47.4 KB)
testcode3.txt.png |
|
Toshi MARUYAMA, 2011-02-05 06:42
|
|
TortoiseHg-about.png (37.1 KB)
TortoiseHg-about.png |
|
Toshi MARUYAMA, 2011-02-05 06:42
|
|
hgtk-log.png (85.6 KB)
hgtk-log.png |
|
Toshi MARUYAMA, 2011-02-05 06:42
|
|
redmine-annotate.png (70.6 KB)
redmine-annotate.png |
|
Toshi MARUYAMA, 2011-02-05 06:42
|
|
redmine-diff.png (36 KB)
redmine-diff.png |
|
Toshi MARUYAMA, 2011-02-05 06:42
|
|
redmine-setting.png (49.1 KB)
redmine-setting.png |
|
Toshi MARUYAMA, 2011-02-05 06:42
|
|
I'm sorry I forgot to select the target version, the target version is Redmine 0.87.
It also have the same problem with BitNami install.
I will waiting for your message.
- Assignee deleted (
Eric Davis)
Have you tried to enter an appropriate value in Administration -> Settings -> Repositories -> Repositories encodings (eg. GBK) ?
Jean-Philippe Lang wrote:
Have you tried to enter an appropriate value in Administration -> Settings -> Repositories -> Repositories encodings (eg. GBK) ?
Philippe,thank you for your message. And with your hint I just remembered, I didn't make sure the UTF-8code of the file before I commited it to SVN. I think I must make two things:
1. make sure the name of the file is EN.
2. make sure the file is UTF-8 code.
3. And enter an appropriate value in _Administration -> Settings -> Repositories -> Repositories encodings for UTF-8
I tried again and again, but the GBK is not be supported will. My English is very poor, but you also helped me.
thanks !
- Priority changed from Urgent to Normal
- Affected version (unused) set to 0.8.7
- Affected version set to 0.8.7
Line 1 is "测试:英文文名、GBK格式、中文的注释 内容:在redmine中显示以及changset文件是否是乱码".
Line 6 is "5第五行再次修改".
This is correct behavior.
I attach TorotiseHg and Redmine images on my Fedora 13.
"test.hg" is Mercurial repository bundle.
$ LANG=zh_CN.GBK hgtk log
Also available in: Atom
PDF