eventmesh icon indicating copy to clipboard operation
eventmesh copied to clipboard

[Bug] Reliance on default encoding

Open kirinzhu opened this issue 3 years ago • 1 comments
trafficstars

Search before asking

  • [X] I had searched in the issues and found no similar issues.

Environment

Mac

EventMesh version

master

What happened

Found a call to a method which will perform a byte to String (or String to byte) conversion, and will assume that the default platform encoding is suitable. This will cause the application behaviour to vary between platforms. Use an alternative API and specify a charset name or Charset object explicitly.

This bug happens in many packages.

How to reproduce

It may happen if the program runs on other platforms.

Debug logs

No response

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

kirinzhu avatar Jul 01 '22 07:07 kirinzhu

Hi, what's the status of this issue? I saw you checked "Yes I am willing to submit a PR!". May I work on it?

hezean avatar Jul 30 '22 08:07 hezean