Re: Emacs file coding problem




<jwb@xxxxxxxxxxxxxxxxxx> wrote in message news:QKmse.19451$F7.17546@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Danny Wilde <fuzakenbo@xxxxxxxxxxx> dixit:
I'm trying to convert a file written in Japanese EUC to UTF-8 by saving it
using a recent version of Gnu Emacs. Every time I try to save the file,
Emacs says that it can't do so or it failed to do so (sorry I'm posting from
windows so I can't quote the error message exactly). Does anyone have any
experience of anything like this with Emacs?

I'd use iconv:

iconv -f EUC-JP -t UTF-8 from_file to_file

Thank you for your advice. That sounds like a useful utility. The problem is that I would also like to edit the output file in UTF-8. I'll try converting it as you suggest and then see if Emacs will behave itself with the new file. The problem is that I need to mix various encodings together, so EUC-JP is frustrating.


Danny.

.



Relevant Pages

  • Re: Compiling emacs on solaris10
    ... GNU Emacs 22.0.91.1 ... GNU Emacs comes with ABSOLUTELY NO WARRANTY. ... The build problem seems to be in the way 'temacs' is linked: ... % make: Fatal error: Command failed for target `bootstrap-build' ...
    (comp.unix.solaris)
  • Re: off-topic: open challenge to Christian Lynbeck
    ... Pascal> No. GNU Emacs has a lisp bytecode interpreter written in C, ... You can use either their own C-like extension language interpreter, ...
    (comp.lang.lisp)
  • Re: Basic VI
    ... I have been living on a work environment of mostly ... Though I probably could install Emacs ... I continue to use Vi on the UNIX systems at work, WinVi on ... and mostly GNU Emacs (with some NEdit ...
    (comp.editors)
  • Re: irc & usenet clients for xfce
    ... and IRC. ... Gnus, running inside a separate Emacs instance, is a very good email & ... The ERC module is a quite ... If you have used GNU Emacs and you feel comfortable working with it, ...
    (freebsd-questions)
  • Re: Good native Linux text editors ???
    ... Linux is an operating system kernel. ... Emacs is the grandfather of Linux ... that point of view Emacs and XEmacs (which is a derivative of GNU Emacs) ... TECO ran on DEC PDP 11s and on the 10. ...
    (comp.os.linux.development.apps)