How do I output Unicode characters as a pair of ASCII characters?
- by ChrisF
How do I convert (as an example):
Señor Coconut Y Su Conjunto - Introducciõn
to:
Señor Coconut Y Su Conjunto - Introducciõn
I've got an app that creates m3u playlists, but when the track filename, artist or title contains non ASCII characters it doesn't get read properly by the music player so the track doesn't get played.
I've discovered that if I write the track out as:
#EXTINFUTF8:76,Señor Coconut Y Su Conjunto - Introducciõn
#EXTINF:76,Señor Coconut Y Su Conjunto - Introducciõn
#UTF8:01-Introducciõn.mp3
01-Introducciõn.mp3
Then the music player will read it correctly and play the track.
My problem is that I can't find the information I need to be able to do the conversion properly.