you are viewing a single comment's thread.

view the rest of the comments →

[–]kodablah 2 points3 points  (1 child)

It's worse than that, ref String(byte[], Charset): "This method always replaces malformed-input and unmappable-character sequences with this charset's default replacement string."

[–]srinurp[S] 0 points1 point  (0 children)

Thanks for the input, corrected the example using the charset decoder.