Red Hat Bugzilla – Bug 136276
files with unexpected coding in /usr/share/texmf/
Last modified: 2013-07-02 19:02:20 EDT
Description of problem:
Files /usr/share/texmf/Changes.txt and /usr/share/texmf/README.txt
pretend to be regular text files but actually they have somewhat
surprising coding. For the first one emacs is able to figure out
that this is a Japanese text coded in iso-2022-jp-unix. The
other one baffles even emacs while 'file' claims
"README.txt: ISO-8859 text" and this is clearly not the case.
It seems to be some Japanese text as well.
At least COPYRIGHT.jis in the same directory does not leave
any doubts. :-) It is in iso-2022-jp-unix too while README.txt
is using definitely some other encoding and it does not seem to
be utf-8 as well.
Version-Release number of selected component (if applicable):
the README.txt is in euc-jp encoding, so to keep all the encodings
apparent I converted all the Japanese files Changes.txt, README.txt to
iso-2022-jp and renamed them to Changes.txt.jis and README.txt.jis.