I am trying to use the Kakasi kanji/hiragana/katakana to roomaji converter, as an aid to learning kanji pronunciation within specific sentences. I am using command and parameters:
kakasi -Ja -Ha -Ka -Ea -s
For example, converting today's date gives:
$ echo "7月31日" | kakasi -Ja -Ha -Ka -Ea -s 7 shin ?? 1 ka �
There is clearly a configuration error, that I think comes from the input encoding (UTF-8) not being correctly understood by the tool.
Could anybody with experience on this matter please advise on how to either tell kakasi to accept Unicode input, or suggest an alternative open-source tool for conversion that works better? (Please, no Windows software.)