dtas-tl: hopefully fix up encoding issues
commit88687f5a271f59cd842ad36cf6e20ea64c86f45c
authorEric Wong <e@80x24.org>
Sun, 17 Jan 2016 01:36:07 +0000 (17 01:36 +0000)
committerEric Wong <e@80x24.org>
Sun, 17 Jan 2016 02:02:25 +0000 (17 02:02 +0000)
tree9d8cf6617b965fb21dd84b032673c945875e1546
parent5b63f0f529291cec16cd9bf0fb9c1298e0e890a9
dtas-tl: hopefully fix up encoding issues

POSIX filesystems allow any combination of bytes, so we should be
able to edit the tracklist when we have a filename with non-UTF-8
(or whatever locale the user uses).  Try to present the user with
a reasonable name when they have an external encoding (typically
UTF-8); but be prepared to dump out whatever binary sequence
the filesystem allows.
bin/dtas-tl