meatballspaghetti opened a new pull request, #4847:
URL: https://github.com/apache/accumulo/pull/4847

   This PR attempts to address all String-to-bytes and bytes-to-String 
conversions so they all consistently use UTF-8 (see more commentary in 
https://github.com/apache/accumulo/pull/3815). This is a follow-on to #4791 and 
**covers fixes to code in the main branch that was not present in 2.1.**
   
   The following fixes have been made:
   
   - String-to-bytes: `String.getBytes()` -> `String.getBytes(UTF_8)`
   - Bytes-to-String: `new String(byte[])` -> `new String(byte[], UTF_8)`
   - No instances of `String::new` or `String::getBytes` were found that were 
missing UTF-8 specification
   
   Fixes https://github.com/apache/accumulo/issues/4765 "Fix String-to-bytes 
and bytes-toString for UTF-8 for all remaining code"


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to