Tkinter not displaying Unicode characters properly on Linux
<p>While on Windows tkinter seems to display the characters properly, the same does not happen with the same code on Linux.</p>

<p>I've tried the method shown <a href="http://tkinter.unpythonic.net/wiki/UnicodeSupport]" rel="nofollow">here</a>, adding a <code>.encode("utf-8")</code> after the character, but that just makes the char go hairwire on both systems. I've also tried just to copy and paste the character instead of using the unicode representation, and while that works on Windows, the same can't be said for Linux.</p>

<p>A snippet of code that shows my problem:</p>

<pre><code># -*- coding: utf-8 -*-
from tkinter import *


master = Tk()
previous_button = Button(master,
                         text=u'\u23EE',
                         relief='flat',
                         activebackground='#282828',
                         activeforeground='#1DB954',
                         bg='#282828',
                         fg='#1DB954',
                         borderwidth=0,
                         bd=0,
                         highlightthickness=0,
                         font='arial 11',
                         )

next_button = Button(master,
                     text=u'\u23ED',
                     relief='flat',
                     activebackground='#282828',
                     activeforeground='#1DB954',
                     bg='#282828',
                     fg='#1DB954',
                     bd=0,
                     highlightthickness=0,
                     borderwidth=0,
                     font='arial 11',
                     )

previous_button.grid()
next_button.grid()

mainloop()
</code></pre>

<p>Windows:
<a href="http://i.stack.imgur.com/qQUXp.png" rel="nofollow"><img src="http://i.stack.imgur.com/qQUXp.png" alt="The buttons as seen on windows"></a></p>

<p>Linux:
<a href="http://i.stack.imgur.com/nxg5j.png" rel="nofollow"><img src="http://i.stack.imgur.com/nxg5j.png" alt="The same buttons on Linux"></a></p>

<p>How to make tkinter render these unicodes on Linux?</p>

<p>The font "arial" don't support unicode characters U+23EE and U+23ED on your Linux installation. Can you check that with a font manager?</p>

python python-3.x unicode tkinter