Bug 129736

Summary: emacs doesn't detect utf8 encoding of file
Product: [Fedora] Fedora Reporter: Alexander Larsson <alexl>
Component: emacsAssignee: Jens Petersen <petersen>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: mattdm
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-28 08:34:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150221    
Attachments:
Description Flags
The textfile, in utf8.
none
Other text file none

Description Alexander Larsson 2004-08-12 12:32:18 UTC
Unless i add a local coding variable defining the file as utf8 emacs
doesn't autodetect the file as utf8, so when you save the utf8
characters in the file are changed.

Comment 1 Alexander Larsson 2004-08-12 12:32:49 UTC
Created attachment 102645 [details]
The textfile, in utf8.

Comment 2 Miloslav Trmač 2004-08-12 13:29:29 UTC
$ LC_MESSAGES=C iconv -f utf-8 -t utf-8 < eel-changelog  > /dev/null
iconv: illegal input sequence at position 8181


Comment 3 Jens Petersen 2004-08-13 12:22:22 UTC
Well spotted: the second "Tomasz K" is different from the first -
so it looks like the file corrupted.

Comment 4 Alexander Larsson 2004-08-30 13:26:11 UTC
Created attachment 103246 [details]
Other text file

Ok, what about this one. It passes iconv and has the same problem.

Comment 5 Matthew Miller 2005-04-26 15:14:06 UTC
Fedora Core 2 is now maintained by the Fedora Legacy project for
security updates only. If this problem is a security issue, please
reopen and reassign to the Fedora Legacy product. If it is not a
security issue and hasn't been resolved in the current FC3 updates or
in the FC4 test release, reopen and change the version to match.

Comment 6 Jens Petersen 2005-09-28 08:34:07 UTC
AFAICT this is ok now with cvs emacs (ie emacs22)
which has improved upstream support.