From: Alecs K. <al...@pe...> - 2005-06-29 16:14:47
|
On Wed, Jun 29, 2005 at 09:38:56AM +0100, Wenzhi Liang wrote: > > I _was_ kinda misleading here. The truth is that, euc is not gbk but > > gb2312. Some of our docs contain some 'evil' characters that have been > > converted from gbk. But these characters are gbk-only [1] and cannot be > > successfully converted to enc-cn (aka gb2312). Hence the problem arises. > > That explains why on Slackware if I set LANG to zh_CN.gbk, things are OK. Is > that a limitation of Vim though? Kind of. Vim doesnt have a 'gbk' for 'enc' option now. Before that and before everyone's using utf-8, we are better off keeping our files enc-cn friendly. > > When doing translation, remember to run the following command > > > > $ iconv -f utf-8 -t euc-cn file.txt >/dev/null > > > > to check if your doc is enc-cn friendly. > Can you add this to the guide.txt? Thanks Will do. -- Alecs King |