Skip to content

If the path contains Japanese in windows, mecab_load will give an error. #18

@Hiroshiba

Description

@Hiroshiba

Like this:

OPEN_JTALK_DICT_DIR='C:\Users\hihok\Downloads\日本語!\open_jtalk_dic_utf_8-1.11' \
python -c 'im port pyopenjtalk; pyopenjtalk.tts("ほげ")'
ERROR: Mecab_load() in mecab.cpp: Cannot open C:\Users\hihok\Downloads\譌・譛ャ隱橸シ―open_jtalk_dic_utf_8-1.11.

Windows用に文字エンコーディングを変更すればこのエラーを迂回できます。
#17

Metadata

Metadata

Assignees

No one assigned

    Labels

    japaneseJapanese specific issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions