hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pradeep Kamath (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-494) Utf8StorageConverter.bytesToCharArray does not properly do utf8 conversions
Date Tue, 14 Oct 2008 22:31:44 GMT

     [ 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.


Mime
View raw message