I'm not sure since when it happened, but it surely used to work before I upgraded to 14.04 (from 13.10) and now it doesn't:
iconv -f UTF-8 -t EUC-JP input > output
It gives me the following message:
iconv: conversion to `EUC-JP' is not supported
Try `iconv --help' or `iconv --usage' for more information.
I've tried EUCJP and I even tried a bunch of others listed in iconv -l, to no avail. Something weird I've noticed is that iconv -l results in:
Segmentation fault (core dumped)
about 50% of the time... not sure what's causing this.
I tried looking elsewhere, but couldn't find anything like this (most probably I've messed something up at some point ;P). Also iconv doesn't seem to be an apt package, so I'm not really sure if/how I should reconfigure it...
Thanks!
EDIT: Not a very satisfying solution, but uconv works. Not sure what the difference between the two is.