overture2112 Wrote:Pauline Wrote:There is version of mecab that uses utf-8 which will causes errors when using your plugin. A user with that version needs to edit the source code to make the plugin work.
It is not something you need to fix (the official plugin for Japanese support have the same issue), but it might be good to know.
A simple fix:
Open morphemes.py and replace all occurrences of 'euc-jp' with 'utf-8'.
Really? I thought the new utf-8 support needed you to specify an option to make it use utf-8?
New utf-8 support i mecab? I don't know anything about that, but it seems I confused mecab with the dictionary it uses. On the Anki wiki you can read this about
Japanese support (my bolding):
Quote:If you're on Linux, install Mecab, Mecab's IPADIC in euc-jp format, and Kakasi. If you want to use the UTF-8 IPADIC, you'll need to edit the plugin's source. You must make sure juman is not installed.