[olug] Converting EUC to UTF-8
Aric Aasgaard
aric at omahax.com
Mon Oct 12 06:16:49 UTC 2009
Thanks, That is awesome to have in the archive.
-----Original Message-----
From: olug-bounces at olug.org [mailto:olug-bounces at olug.org] On Behalf Of Eric
P
Sent: Sunday, October 11, 2009 11:04 PM
To: Omaha Linux User Group
Subject: Re: [olug] Converting EUC to UTF-8
Eric P wrote:
> I have a zip file from six years back of which all the filenames and
> their content are EUC encoded (Japanese).
>
> Nowadays everything (Asian languages, etc.) is UTF-8, and I'm trying to
> figure out how to get the filenames and their content to UTF-8.
>
> I know how to go back and forth between EUC and SJIS but not to UTF.
>
> Thanks for any pointers.
> Eric
>
Ok, answering my own post (mostly for net posterity if someone else stumbles
upon this thread).
In my case it turns out I just needed to convert the filenames from euc to
utf-8. The magic command to do this is:
convmv -r -f euc-jp -t utf8 *
This shows you what (if any) the new "fixed" filenames will become. To make
the conversion permanent type:
convmv --notest -r -f euc-jp -t utf8 *
Worked like a breeze.
Eric
_______________________________________________
OLUG mailing list
OLUG at olug.org
https://lists.olug.org/mailman/listinfo/olug
More information about the OLUG
mailing list