Skip to content

refactor: unify internal processing to UTF-8#117

Open
takahashim wants to merge 4 commits intomasterfrom
fix-utf8
Open

refactor: unify internal processing to UTF-8#117
takahashim wants to merge 4 commits intomasterfrom
fix-utf8

Conversation

@takahashim
Copy link
Copy Markdown
Contributor

.to_sjisの扱いがしんどくなっているため、内部エンコーディングを完全にUTF-8に変更します。
これまでもコード自体はUTF-8で記述していましたが、実際のデータ等もUTF-8にし、最後にOutputStreamでShift_JISに変換するようにします。

エラーメッセージもUTF-8化した方がいいのかも?と思いましたがこちらは互換性のため変更していません。

@takahashim takahashim marked this pull request as ready for review January 4, 2026 04:37
@takahashim
Copy link
Copy Markdown
Contributor Author

ファイル自体はShift_JISで扱うようにしつつ、エラーメッセージなどのI18nはCP932で出力できるようにしています

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.

1 participant