unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Processing Chinese Big5 in Emacs Info reader
@ 2004-01-18  5:23 Chun-Chieh Huang
  2004-01-18  6:52 ` Eli Zaretskii
  2004-01-18 16:16 ` Chun-Chieh Huang
  0 siblings, 2 replies; 4+ messages in thread
From: Chun-Chieh Huang @ 2004-01-18  5:23 UTC (permalink / raw)


Dear all,

I don't know current policy of FSF for supporting Chinese Big5 in its
Info/Texinfo utilities. But I did a quick fix to read Chinese Big5 in
Emacs Info reader. BTW, if I converted my texinfo files to Info by
texinfo-format-buffer command in Texinfo-mode, I can process Chinese
Big5 too. Makeinfo, however, can't process Chinese Big5 correctly. So
maybe the Chinese translation team in FSF can use Emacs to process
Texinfo and Info. 

I only changed one line in info.el to support Big5 Info reading in
Emacs, as below: (info.el from CVS)

[jjhuang@albert-laptop lisp]$ diff info.el.~1.376.~ info.el
343c343,344
<               (coding-system-for-write 'no-conversion)
---
> ;;            (coding-system-for-write 'no-conversion)
>               (coding-system-for-write 'buffer-file-coding-system)

But I only test it on my GNU Emacs 21.3.1 (i386-mandrake-linux-gnu, X
toolkit, Xaw3d scroll bars) of 2003-08-27 on ke.mandrakesoft.com,
modified by Mandrake. It works fine. Finally, I can edit some Texinfo
files and convert them into Info, and read it in Emacs. Usually the
Chinese Big5 users would change buffer-file-coding-system to
chinese-big5, so this is a quick fix only. :-)


Chun-Chieh
-- 
Chun-Chieh Huang, aka Albert    E-mail: jjhuang AT cm.nctu.edu.tw
黃俊傑                         
Department of Computer Science  
National Tsing Hua University   MIME/ASCII/PDF/PostScript are welcome!
HsinChu, Taiwan                 NO MS WORD DOC FILE, PLEASE!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-01-18 16:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-18  5:23 Processing Chinese Big5 in Emacs Info reader Chun-Chieh Huang
2004-01-18  6:52 ` Eli Zaretskii
2004-01-18 15:28   ` Chun-Chieh Huang
2004-01-18 16:16 ` Chun-Chieh Huang

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).