Code

lyrics: print text in UTF-8
authorMax Kellermann <max@duempel.org>
Tue, 23 Sep 2008 11:41:49 +0000 (13:41 +0200)
committerMax Kellermann <max@duempel.org>
Tue, 23 Sep 2008 11:41:49 +0000 (13:41 +0200)
commit3052dceb948336a0671f7bea24f8b378cae4ce30
treeb204deef7e9fe084316ab803547dd36df164fecb
parent3b68c580d50a22d6b0716948128cf359defab317
lyrics: print text in UTF-8

Python defaults to sending ASCII characters, and aborts if there are
non-ASCII characters in the string.  Unfortunately, due to "C.UTF-8"
being not defined, we cannot reliably make Python use UTF-8, without
further locale settings.  Thus, work around this mess by manually
encoding the result to UTF-8 in the script.
lyrics/leoslyrics.py