[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 306229] New: Git outputs wrongly encoded text when not using English.
From: Kunshan Wang <wks1986 () gmail ! com>
Date: 2012-09-04 5:31:15
Message-ID: bug-306229-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=306229
Bug ID: 306229
Severity: normal
Version: 4.3.1
Priority: NOR
Assignee: kdevelop-bugs@kdevelop.org
Summary: Git outputs wrongly encoded text when not using
English.
Classification: Unclassified
OS: Linux
Reporter: wks1986@gmail.com
Hardware: Other
Status: UNCONFIRMED
Component: Output Views
Product: kdevelop
My desktop language is Simplified Chinese (LANG=zh_CN.UTF-8)。
When creating a project using Git as the VCS, the GIt's output messages are not
properly displayed in the panel at the bottom of the window. It looks like some
multi-byte characters are not properly handled.
Reproducible: Always
Steps to Reproduce:
1. Use a non-latin language. (e.g. LANG=zh_CN.UTF-8)
2. Create a new project. (e.g. a plasmoid project)
3. In the new-project wizard, select Git as the VCS
4. Finish the wizard.
Actual Results:
Some texts are not displayed properly. See the line that contains "initial
project import from KDevelop".
/home/wks/code/kde/hwplasmoid> git commit -m initial project import from
KDevelop -- /home/wks/code/kde/hwplasmoid
[masterï æ æ ä ï eebbd3e] initial project import from KDevelop
7 ä æ ä è ä æ ï æ å 304 è (+)
create mode 100644 CMakeLists.txt
create mode 100644 Messages.sh
create mode 100644 README
create mode 100644 hwplasmoid.cpp
create mode 100644 hwplasmoid.h
create mode 100644 plasma-applet-hwplasmoid.desktop
create mode 100644 plasma-applet.png
Command exited with value 0.
Expected Results:
Below is an excerpt of a proper git commit displayed in Konsole.
[wks@localhost junk-git-repo]$ echo $LANG
zh_CN.UTF-8
[wks@localhost junk-git-repo]$ touch foo.txt bar.cpp baz.h
[wks@localhost junk-git-repo]$ git init
初始化空的 Git 版本库于 /home/wks/junk/junk-git-repo/.git/
[wks@localhost junk-git-repo]$ git add .
[wks@localhost junk-git-repo]$ git commit
[master( 提交) c7f1115] Initial Commit
0 个文件被修改
create mode 100644 bar.cpp
create mode 100644 baz.h
create mode 100644 foo.txt
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic