Web lists-archives.com

Re: How to get the MySQL Command-Line Tool to display Unicode properly?




I am running Ubuntu MATE 16.04.  I have the problem also on Windows 7 and on Mac OS Version 10.11.6.  I do not think that the problem has to do with the operating system nor the terminal.  Everything about the Unicode text works fine in all tools such as editors, the cat command, etc.  It is only when I am running mysql and I issue a SELECT command to see what is in a row.  Then the UTF-8 is not rendered properly.  I believe the problem is with mysql.

Roger


On 03/13/2018 03:11 PM, Reindl Harald wrote:


Am 13.03.2018 um 22:59 schrieb Roger House:
In all respects except one, the treatment of Unicode works just fine. I can write Unicode to database tables, read it, display it, etc., with no problems. The exception is mysql, the MySQL Command-Line Tool. When I execute a SELECT statement to see rows in a table containing the Venus and Mars Unicode characters, here is what I see on the screen:

|| Venus | ♀ | | Mars | ♂ | |

What I should see in the right column are the standard glyphs for Venus and Mars.

Any ideas about how to get the MySQL Command-Line Tool to display Unicode properly?
what operating system
what terminal

all recent Linux systems have UTF8 as default



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql