Issue
I am using the sqlJocky plugin in flutter, but when i received a data the words come with special chars like ç,~, and the text have a bug of decode. any idea to convert to default code char?
var conn = await MySqlConnection.connect(s);
Results result = await (await conn
.execute('SELECT * FROM SATISFACAO_PERGUNTAS'))
.deStream();
print(result);
The log show me ����� when i use ç
Solution
I solved thanks, it was a key in my.cnf of mysql server , I added a key [client] default-character-set=utf8 [mysql] default-character-set=utf8 [mysqld] collation-server = utf8_unicode_ci init-connect='SET NAMES utf8' character-set-server = utf8
Answered By - Micael
Answer Checked By - Willingham (JavaFixing Volunteer)