EngineHub / EngineHub/CommandHelper

Encoding problem in non-ascii characters

オープン
#1,165 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Java
スター
128
フォーク
70
PR マージ指標
30日以内にマージされた PR はありません

説明

CMDHELPER-3171 - Reported by bexco2010

If we(non-ascii users) write non-ascii character(which is hangul(korean) in my case), CommandHelper won't show correct letters on UTF-8 Encoded File. This means If code is transfered to another computer which uses diffrent encoding(EUC-KR to EUC-JP for example), code with non-ascii characters will shows broken letters when executed.

So, CommandHelper needs to set default encoding to UTF-8 for non-ascii users.

I attached photo which shows I tried to message "안녕" to player in UTF-8 Encoded MethodScript file.

plus, If try to send non-ascii message to console(tmsg() or console() function), It shows broken message.
please check console output with non-ascii characters, too.

Thanks.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。