jspwiki icon indicating copy to clipboard operation
jspwiki copied to clipboard

Avoid method that assume default platform encoding is suitable.

Open arturobernalg opened this issue 2 years ago • 1 comments

Dm: Reliance on default encoding (DM_DEFAULT_ENCODING)

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 behavior to vary between platforms. Use an alternative API and specify a charset name or Charset object explicitly.

arturobernalg avatar Oct 08 '22 06:10 arturobernalg

Hi @juanpablo-santos,

I've made changes to avoid reliance on default platform encoding, I think this would be a nice addition to the 2.12.2 release. Please take a look.

Best, Arturo

arturobernalg avatar Oct 19 '23 20:10 arturobernalg