This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug localedata/3901] New: iconv -f emacs-mule


>From debian bug #398270

It would be very helpful if one could do
$ iconv -f emacs-mule -t utf8 file
as one way or another, an emacs buffer sometimes gets saved in mule
encoding -- one cannot guarantee it will never happen, and the person
later who discovers the file has been saved that way might not have,
be able to use, or understand the documents of emacs.

One would like to not need a Ph. D. to turn
=98=A8=BB=98=BC=E2
back into
=E5=8F=B0=E6=8E=83.

Actually one way of rescuing the file would be to put -*-Coding:
emacs-mule-*- at the top, possibly with ed(1), before opening it with
emacs. Actually emacs should auto-detect the coding system, but
sometimes there is a byte of garbage so emacs guesses wrong.

Then one can copy and paste the region into a already open other utf-8
file, unless one understands the mule menus.

Anyway, it would still be good to have it in iconv.

-- 
           Summary: iconv -f emacs-mule
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: localedata
        AssignedTo: libc-locales at sources dot redhat dot com
        ReportedBy: aurelien at aurel32 dot net
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=3901

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]