Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Re: Updating iconv tables
- Date: Wed, 18 Jun 2008 00:32:04 +0900
- From: "Kim Ahlström" <kim.ahlstrom@example.com>
- Subject: Re: [tlug] Re: Updating iconv tables
- References: <5634e9210806102023p448a36bcw2d90f138cebb5597@mail.gmail.com> <5634e9210806121550p31912022u6c5b4d9ef73c61be@mail.gmail.com> <5634e9210806121716j746cbedaod245b80871298245@mail.gmail.com>
2008/6/13 Jim Breen <jimbreen@example.com>: Hi > OK, Bruno has replied pointing out "EUC-JISX0213" is what should be used > as the iconv indicator for JIS X 0213 codepoints. I'm going to have to > work on this one a bit, but don't go grumbling on bug-gnu-libiconv@example.com > after all. Thanks for the update Jim. For those of you who are bitten by this, here's a workaround. Perl has since 5.8 very good character encoding support and this works on both FreeBSD 6.2 and Mac OS X 10.5 (both with Perl 5.8.8) for me: cat edict | perl -e 'binmode(STDIN, ":encoding(euc-jp)"); binmode(STDOUT, ":utf8"); print while <STDIN>' > edict.utf8 And in the spirit of TMTOWTDI and golfing, here's a shorter one: cat edict | perl -mencoding=eucjp,STDOUT,utf8 -pe1 > edict.utf8 Cheers, Kim
- References:
- [tlug] Updating iconv tables
- From: Jim Breen
- [tlug] Re: Updating iconv tables
- From: Jim Breen
- [tlug] Re: Updating iconv tables
- From: Jim Breen
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] [Was: iptables] Forward multicats
- Next by Date: Re: [tlug] [Was: iptables] Forward multicats
- Previous by thread: [tlug] Re: Updating iconv tables
- Next by thread: [tlug] Re: Updating iconv tables
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links