Your message dated Mon, 23 Apr 2012 21:03:50 -0400
with message-id <[email protected]>
and subject line Re: Bug#298554: vim-common: [patch] let `vimtutor zh' support
utf-8 encoding
has caused the Debian Bug report #298554,
regarding [vim-runtime] let `vimtutor zh' support utf-8 encoding
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
298554: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=298554
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vim-common
Version: 1:6.3-061+1
Severity: normal
Tags: patch
Hello,
my locale is zh_CN.UTF-8, and when I run `vimtutor zh', I got messed up
messaged, so I patch vim-common to make this work.
First, I run
`iconv -f gb2312 -t utf-8 -o tutor.zh.utf-8 tutor.zh.euc'
in directory /usr/share/vim/vim63/tutor, you can get file `tutor.zh.utf-8'
in attachment(gzipped).
Then I patch the `tutor.vim' in the same directory, diff file
as follows:
--- tutor.vim.old 2005-03-08 20:55:47.297735544 +0800
+++ tutor.vim 2005-03-08 20:54:49.199567808 +0800
@@ -64,6 +64,8 @@
if s:ext =~? '\.zh'
if &enc =~ 'big5\|cp950'
let s:ext = ".zh.big5"
+ elseif &enc =~ "utf-8$"
+ let s:ext = ".zh.utf-8"
else
let s:ext = ".zh.euc"
endif
OK, now I can use `vimtutor zh' in locale zh_CN.UTF-8, It feels good.
PS: I admit it seems not neutrality for Traditional Chinese users, but I
have no easy way to keep neutrality between Simplified Chinese users and
Traditional Chinese users, maybe someone else can give better patches.
Anyway, It's better than mess-up.
Li Daobing
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-686-smp-mppe
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Versions of packages vim-common depends on:
ii vim 1:6.3-061+1 Vi IMproved - enhanced vi editor
-- no debconf information
--
Li Daobing
tutor.zh.utf-8.gz
Description: Binary data
--- End Message ---
--- Begin Message ---
Version: 2:7.2.000-1
On Tue, Mar 08, 2005 at 09:17:51PM +0800, Li Daobing wrote:
> my locale is zh_CN.UTF-8, and when I run `vimtutor zh', I got messed up
> messaged, so I patch vim-common to make this work.
I just noticed that this has been fixed upstream for a while now.
Closing.
--
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <[email protected]>
signature.asc
Description: Digital signature
--- End Message ---