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

フォルダ名に日本語を含めるとデコードエラーが発生する #24

Closed
fa0311 opened this issue Mar 28, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@fa0311
Copy link
Owner

fa0311 commented Mar 28, 2022

Traceback (most recent call last):
File "http://DMMGamePlayerFastLauncher.py", line 113, in
File "http://DMMGamePlayerFastLauncher.py", line 44, in get_dpg5_config
UnicodeDecodeError: 'cp932' codec can't decode byte 0x93 in position 35: illegal multibyte sequence

@fa0311 fa0311 added the bug Something isn't working label Mar 28, 2022
@fa0311
Copy link
Owner Author

fa0311 commented Mar 28, 2022

自分の環境では再現できなかった

@fa0311 fa0311 closed this as completed Mar 28, 2022
@fa0311 fa0311 reopened this Mar 28, 2022
@SeliaMistral
Copy link

自分の環境だとdmmgame.cnf内のdefaultInstallDirとpathに日本語が含まれているため
DMMGamePlayerFastLauncher.pyの43行目

with open(dgp5_path + "dmmgame.cnf", "r") as `f:

with open(dgp5_path + "dmmgame.cnf", "r", encoding='utf-8') as f:

にすることで正常に動作するようになりました。

@fa0311 fa0311 closed this as completed in 24fc422 Mar 31, 2022
fa0311 added a commit that referenced this issue Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants