RFR: 8264200: java/nio/channels/DatagramChannel/SRTest.java fails intermittently
Conor Cleary
ccleary at openjdk.java.net
Tue Apr 6 14:11:24 UTC 2021
On Tue, 6 Apr 2021 13:53:41 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> Makes sense, I think I will opt for using `US_ASCII` across all of the classic and nio readers/writers.
>
> Using an 8-bit charset might be a better choice, US_ASCII is only 7bit and might produce some unmappable characters.
> ISO_8859_1 would be a better choice.
Fair enough. Is there any reason then why UTF-8 would be used over ISO_8859_1 then, given what you said above about character mapping?
-------------
PR: https://git.openjdk.java.net/jdk/pull/3354
More information about the nio-dev
mailing list