Descriptionencoding/json: coerce invalid UTF-8 to valid UTF-8 during Marshal
In practice, rejecting an entire structure due to a single invalid byte
in a string is just too picky, and too hard to track down.
Be consistent with the bulk of the standard library by converting
invalid UTF-8 into UTF-8 with replacement runes.
Patch Set 1 #Patch Set 2 : diff -r d7a46e096cf0 https://code.google.com/p/go/ #Patch Set 3 : diff -r d7a46e096cf0 https://code.google.com/p/go/ #
Total comments: 1
Patch Set 4 : diff -r 479890e74f24 https://code.google.com/p/go/ #
MessagesTotal messages: 4
|