hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIG-494) Utf8StorageConverter.bytesToCharArray does not properly do utf8 conversions
Date Tue, 14 Oct 2008 16:55:44 GMT
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.


Mime
View raw message