Quote:
Originally Posted by twobob
EDIT: Did you try to search for the term "happy" (this returns helpful testing results)
even with # encoding: utf-8 (as second line)
|
Now I see...
Instead of
Code:
to_bytes(track.title)
use
Code:
track.title.encode('utf-8')
It's built-in method of any Python string.