Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ByteBuffer string conversions on JRuby
The getBytes() method this was previously using converts according to Java's default charset, which means it is potentially not binary-safe. It has been replaced with a conversion based on a ByteList rather than an intermediate Java String type, which should sidestep all encoding-related issues..
- Loading branch information
Showing
4 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters