yangzhg opened a new issue #3332: [BUG] doris string functions not support cjk 
characters
URL: https://github.com/apache/incubator-doris/issues/3332
 
 
   **Describe the bug**
   doris string functions cannot handle utf-8 strings,such as substr  will 
using byte pos not character pos
   
   **To Reproduce**
   
![image](https://user-images.githubusercontent.com/9098473/79428559-e7745800-7ff8-11ea-8db4-a1903a2d5f04.png)
   
   
   **Expected behavior**
   mysql can handle multibytes correctly 
   
![image](https://user-images.githubusercontent.com/9098473/79428652-0a9f0780-7ff9-11ea-9b6e-d7b254311771.png)
   
   **Screenshots**
   If applicable, add screenshots to help explain your problem.
   
   **Additional context**
   it because src/exprs/string_functions.cpp not support multibyte string
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to