Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E10C0200AE1 for ; Sun, 8 May 2016 07:27:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DFFA3160A12; Sun, 8 May 2016 05:27:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 32A45160A01 for ; Sun, 8 May 2016 07:27:14 +0200 (CEST) Received: (qmail 39018 invoked by uid 500); 8 May 2016 05:27:13 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 38992 invoked by uid 99); 8 May 2016 05:27:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 May 2016 05:27:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E16802C033A for ; Sun, 8 May 2016 05:27:12 +0000 (UTC) Date: Sun, 8 May 2016 05:27:12 +0000 (UTC) From: "Denis Magda (JIRA)" To: dev@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-3098) UTF-16 surrogate pairs are not properly serialized by BinaryMarshaller MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 08 May 2016 05:27:15 -0000 Denis Magda created IGNITE-3098: ----------------------------------- Summary: UTF-16 surrogate pairs are not properly serialized by BinaryMarshaller Key: IGNITE-3098 URL: https://issues.apache.org/jira/browse/IGNITE-3098 Project: Ignite Issue Type: Bug Reporter: Denis Magda BinaryMarshaller is unable to properly serialize surrogate symbols (read here [1] paragraph "invalid code points") because it relies on String.getBytes("UTF-8") method [2]. However Optimized and JDK marshalers can properly handle this symbols since they rely on {{ObjectOutputStream.writeUTF()}} method. [1] https://en.wikipedia.org/wiki/UTF-8 [2] https://community.oracle.com/thread/1164397?start=0&tstart=0 -- This message was sent by Atlassian JIRA (v6.3.4#6332)