[Bug 226535] Merge Review: w3m

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Merge Review: w3m


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=226535





------- Additional Comments From mtasaka@xxxxxxxxxxxxxxxxxxx  2007-03-27 05:12 EST -------
(In reply to comment #16)
> Mtasaka,
>     Can you help me in converting all the documents in doc-jp/ files from EUC-JP
> to UTF-8?
>      E.g. I tried following command to convert README to UTF-8
>  iconv -f ISO_8859-1 -t UTF-8 /usr/share/doc/w3m-0.5.1/doc-jp/README
> 
> Is that right?

Well, actually it is not ISO-8859-1, although "file" command
shows this (well, for Japanese documents, "file" command is
not useful...)

The following works for me.
-------------------------------------------------------
# Change encodings
pushd doc-jp
for f in * ; do
   case $f in
      README.pre_form | README.tab )
         CHARSET=ISO-2022-JP ;
         ;;
      keymap.* )
         CHARSET=UTF-8
         ;;
      * )
         CHARSET=EUC-JP
         ;;
    esac
    iconv -f $CHARSET -t UTF-8 $f > $f.tmp && \
      ( touch -r $f $f.tmp ; mv $f.tmp $f ) || rm -f $f.tmp
done
popd
------------------------------------------------------


-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]