Ian Maxon created ASTERIXDB-2846:
------------------------------------

             Summary: AStringPrinterFactory creates objects for characters 
requring surrogate pairs
                 Key: ASTERIXDB-2846
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2846
             Project: Apache AsterixDB
          Issue Type: Bug
            Reporter: Ian Maxon


AStringPrinterFactory uses PrintTools.writeUTF8StringAsJSON to pull the 
variable-length encoded string out of a record field. In the case of a 
character that is in the supplementary plane, it uses writeSupplementaryChar() 
to put its high and low surrogates into the output string. This method creates 
a new String and new character array with the high and low surrogates in lieu 
of trying to emit the character directly. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to