Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ifstreamにわたす前に文字コードを変える処理を追加 #2

Merged
merged 3 commits into from
Sep 11, 2022

Conversation

shigobu
Copy link

@shigobu shigobu commented Sep 11, 2022

内容

Windowsで、ユーザー名に日本語が含まれている場合にエラーになる問題を修正します。
文字コードを変換する関数を追加し、Windowsの場合は文字コードを変換してからifstreamにわたすようにしました。

関連 Issue

ref #1

その他

もしかしたら、open_jtalk側も修正が必要になるかもしれません。
以前、voicevox_coreのWindows c++ exampleを作ったときにも同様の問題が発生しました。
VOICEVOX#208
最新では修正されているはずだから、最新を使うようにすればいいだけ?
製品版のcore.dllを差し替えたら普通に起動しました。

@shigobu shigobu marked this pull request as ready for review September 11, 2022 04:44
@shigobu shigobu temporarily deployed to false September 11, 2022 10:30 Inactive
@shigobu shigobu temporarily deployed to false September 11, 2022 10:30 Inactive
@shigobu shigobu temporarily deployed to false September 11, 2022 10:30 Inactive
@shigobu shigobu temporarily deployed to false September 11, 2022 10:30 Inactive
@shigobu shigobu temporarily deployed to false September 11, 2022 10:30 Inactive
@shigobu shigobu temporarily deployed to false September 11, 2022 10:30 Inactive
@shigobu shigobu temporarily deployed to false September 11, 2022 10:30 Inactive
@shigobu shigobu temporarily deployed to false September 11, 2022 10:30 Inactive
@shigobu shigobu temporarily deployed to false September 11, 2022 10:30 Inactive
@shigobu shigobu temporarily deployed to false September 11, 2022 10:30 Inactive
@shigobu shigobu temporarily deployed to false September 11, 2022 10:30 Inactive
Copy link

@y-chan y-chan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@y-chan y-chan merged commit 9b7342d into SHAREVOX:main Sep 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants