FAQ
Buffer class' toString method should accept a code name for "true" utf-8 codeName
----------------------------------------------------------------------------------

Key: HADOOP-2663
URL: https://issues.apache.org/jira/browse/HADOOP-2663
Project: Hadoop
Issue Type: Improvement
Components: record
Reporter: Runping Qi
Assignee: Milind Bhandarkar



Currently, if one call toString("UTF-8"), a String object is created using Java's converion code.
That does not work properly for some rare but still true utf-8 bytes. Hadoop has its own utf-8 conversion
code for string serialization/deserialization. The same code should be used here.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

  • Runping Qi (JIRA) at Jan 19, 2008 at 2:12 am
    [ https://issues.apache.org/jira/browse/HADOOP-2663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560637#action_12560637 ]

    Runping Qi commented on HADOOP-2663:
    ------------------------------------


    On the flip side, the Buffer should provide a constructor taking a utf-8 String object as a parameter.

    Buffer class' toString method should accept a code name for "true" utf-8 codeName
    ----------------------------------------------------------------------------------

    Key: HADOOP-2663
    URL: https://issues.apache.org/jira/browse/HADOOP-2663
    Project: Hadoop
    Issue Type: Improvement
    Components: record
    Reporter: Runping Qi
    Assignee: Milind Bhandarkar

    Currently, if one call toString("UTF-8"), a String object is created using Java's converion code.
    That does not work properly for some rare but still true utf-8 bytes. Hadoop has its own utf-8 conversion
    code for string serialization/deserialization. The same code should be used here.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedJan 19, '08 at 1:39a
activeJan 19, '08 at 2:12a
posts2
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Runping Qi (JIRA): 2 posts

People

Translate

site design / logo © 2022 Grokbase