Skip to content

Encoding problem in non-ascii characters #1165

Open
@LadyCailinBot

Description

@LadyCailinBot

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThings that don't work as designed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions