puranikamey opened a new issue #13162:
URL: https://github.com/apache/superset/issues/13162


   A clear and concise description of what the bug is.
   While performing CURD operations using sqllab editor, Chinese and Japanese 
chars are getting converted to '???'.  For ex. While inserting value in to the 
table, insert query runs successfully but data inserted in the table getting 
converted to  '?????'. Also, if you refresh page, values in the sql editor 
(Chinese and Japanese chars) are getting converted to '???'. 
   
   ### Environment
   
   - superset version: 0.36.0
   - python version: 3.6.9
   - node.js version: 6.11.5 <7.0.0 || >= 8.9.0
   
   ### Expected results
   On Sqllab editor, Chinese and Japanese chars should not be getting converted 
to '???'.
   
   ### Actual results
   Should be able to perform CURD operations using Chinese and Japanese 
language. 
   
   #### Screenshots
   
   As you can see data inserted  in the table is ??????
   
   
![image](https://user-images.githubusercontent.com/23127814/108135531-4629b880-7086-11eb-8578-0108f0b3adaf.png)
   
   
![image](https://user-images.githubusercontent.com/23127814/108140398-ff40c080-708f-11eb-8d09-6597e2d7a69a.png)
   
   
   
   #### How to reproduce the bug
   
   1. Go to /superset/sqllab
   2. Select database(connection)
   3. Select schema(connection)
   4. Create new table. (Mysql: create table multilang (name varchar(80) null); 
Snowflake: create table multilang (name nvarchar);
   5. Run following query : insert into multilang values('こんにちは世界');
   6. Insert query will run successfully, however data inserted will be '??????'
   7. Refresh the page; insert into multilang values('こんにちは世界'); will get 
converted to insert into multilang values('???????');
   
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [ ] I have reproduced the issue with at least the latest released version 
of superset.
   - [ ] I have checked the issue tracker for the same issue and I haven't 
found one similar.
   


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



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

Reply via email to