unable to re-encode some CJK punctuation from utf8 to gbk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
screen |
Unknown
|
Unknown
|
|||
screen (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: screen
To reproduce this bug:
1) set the locale to utf8 (such as LC_CTYPE=
2) within GNU screen shell, cat the attached cjk-punc-utf8.txt. you should see that it show CJK punctuations correctly in screen.
(http://
3) use C-a :copy to select the result
4) use C-a :writebuf -e gbk cjk-punc-gbk.txt to re-encode it as gbk.
5) open cjk-punc-gbk.txt (using gedit --encoding=gbk or firefox or even hexdump -C), you can see that although the chinese characters are encoded corrently, the quotes punctuations are not (and becomes "?"0x3f)
I have check /usr/share/
Reported upstream at https:/ /savannah. gnu.org/ bugs/index. php?20277