ccMoriarty opened a new issue #12245:
URL: https://github.com/apache/shardingsphere/issues/12245


   ### Describe the feature you would like.
   now, "set names"  is actually a transparent transmission, to execute "set 
names" on the specific DB. it changes the character set of DB,not the 
ShardingSphere-proxy.
   
   When a SQL is executed, it reaches the proxy first, and the proxy will 
convert it from byte stream to String. Now there is no specified character 
set.This may cause chinese garbled problems.
   
   if i have a gbk table and a utf8 table in same proxy, it must cause chinese 
garbled.
   
   so i think proxy's "set names" can be supported. in mysql, set names  
changes the session-level character set. I hope the proxy has its own 
session-level character set. (When new String, the specified Session-level 
character set that can be displayed)
   
   if it is completed, we can use multiple encoding formats in one proxy
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to