I'm trying to create a table in a SQL database with Russian words and English definitions. I know this looks like a repeat question but I've gone through the answers I've been able to find here on StackOverflow and on this page and I can't seem to get them to work for me. I'm using MariaDB and trying to insert data into my table via the command line. The most recent thing I've tried to do is this:
ALTER TABLE my_table CONVERT TO CHARACTER SET utf8 COLLATE utf8_unicode_ci;
Then added another definition to it to see if it would print the Cyrillic but it doesn't. If my input is:
insert into table my_table('финик','The sweet, edible, oblong or oval fruit of the date palm, containing a narrow, hard seed.');
And I do a select *
statement, the output will be:
????? - The sweet, edible, oblong or oval fruit of the date palm, containing a narrow, hard seed.
I've also tried to change the default character set and default collation in the db.txt file in my database folder but nada.
I feel like there's something super obvious I'm missing. Thank you so much for reading.