You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Till (JIRA)" <ji...@apache.org> on 2016/08/05 16:02:20 UTC

[jira] [Comment Edited] (ASTERIXDB-1566) UTF8 got wrong when processing chinese char and beyond

    [ https://issues.apache.org/jira/browse/ASTERIXDB-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15409612#comment-15409612 ] 

Till edited comment on ASTERIXDB-1566 at 8/5/16 4:01 PM:
---------------------------------------------------------

Wow! But returning both strings (e.g. in an array) gives the correct result?


was (Author: tillw):
Wow! But returning both strings give the correct result?

> UTF8 got wrong when processing chinese char and beyond
> ------------------------------------------------------
>
>                 Key: ASTERIXDB-1566
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1566
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: AsterixDB
>         Environment: MAC and Linux
>            Reporter: Wenhai
>            Priority: Critical
>
> If we give chinese characters with the same first byte yet the different rest parts, asterixdb cann't differentiate it. For example, the query
> {noformat}
> "的"="离"
> {noformat}
> should return "false" due to the different code "&#x7684" of “的” and "&#x79BB" of "离".
> The returned value is
> {noformat}
> true
> {noformat}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)