[
https://issues.apache.org/jira/browse/PIG-494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pradeep Kamath updated PIG-494:
-------------------------------
Attachment: PIG-494.patch
> 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
> Assignee: Pradeep Kamath
> Fix For: types_branch
>
> Attachments: PIG-494.patch
>
>
> 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.