Utf8StorageConverter.bytesToCharArray does not properly do utf8 conversions
---------------------------------------------------------------------------
Key: PIG-494
URL: https://issues.apache.org/jira/browse/PIG-494
Project: Pig
Issue Type: Bug
Components: impl
Affects Versions: types_branch
Reporter: Alan Gates
Fix For: types_branch
This function just does new String(bytes[]). It needs instead to use a
CharsetDecoder (see BufferedPositionedInputStream.readLine in pig 1.x). This
causes non-ascii characters to be incorrectly translated from byte arrays to
strings.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.