On Saturday, October 4, 2008 at 22:40, [EMAIL PROTECTED] wrote: > [EMAIL PROTECTED] wrote: >> On Saturday, October 4, 2008 at 21:55, [EMAIL PROTECTED] wrote: >>> [EMAIL PROTECTED] wrote: >>>> Dear all, >>>> >>>> I use the GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-07-26 on >>>> LENNART-69DE564. I find that when I want to open a file under a very long >>>> path, say: >>>> >>>> --------------------- >>>> F:\zhaohs\Desktop\博士论文工作相关\博士论文写作相关\我的修改过程等细节\一些进一步的修改\解决多文献列表问题,已经接近实际所用(目前所用方案)\如何产生多个参考文献列表\基于multibib的实现\cjk_preamble_werner\werner最后提供的方法,必须使用utf8编码\cjkbib\cjk_preamble.tex >>>> >>>> --------------------- >>>> >>>> The Emacs will give me errors like the snapshot I posted here in the >>>> attachment. >>>> >>>> But, if I rename the above file into cjk.tex, in this way, the above path >>>> will look like the following: >>>> >>>> ----------------------- >>>> F:\zhaohs\Desktop\博士论文工作相关\博士论文写作相关\我的修改过程等细节\一些进一步的修改\解决多文献列表问题,已经接近实际所用(目前所用方案)\如何产生多个参考文献列表\基于multibib的实现\cjk_preamble_werner\werner最后提供的方法,必须使用utf8编码\cjkbib\cjk.tex >>>> >>>> ----------------------- >>>> >>>> Then the Emacs will open the above file correctly. >>>> >>>> Why does this happen? Who can give me some hints? >> >> >>> It might be a bug. Can you please try the latest unpatched version? >> >> I've updated to the GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of >> 2008-10-03 on LENNART-69DE564, but this error is still the same as >> yet. >> Another issue is that this version cann't display a utf-8 >> encoded Chinese characters correctly.
Finally, I find that the encoding judgement can be done by using unicad.el, which can be downloaded from: http://code.google.com/p/unicad/downloads/list. Regards, -- Hongyi Zhao <[EMAIL PROTECTED]> Xinjiang Technical Institute of Physics and Chemistry Chinese Academy of Sciences GnuPG DSA: 0xD108493 2008-10-5