dpet23 / Export-iTunes-Playlists

Script to export playlists from iTunes to a folder. Can now export from iTunes to Android.
GNU General Public License v3.0
11 stars 8 forks source link

UTF-8 #4

Closed GaryHillis closed 3 years ago

GaryHillis commented 4 years ago

I think this will work better if you use UTF-8-MAC encoding.

dpet23 commented 3 years ago

The ExportPlaylists.applescript file is already saved using UTF-8 encoding.

I've tried running iconv -f UTF-8 -t UTF-8-MAC ./ExportPlaylists.applescript > ./ExportPlaylists_new.applescript but the files don't have any differences (according to Git).

Visual Studio Code with the AppleScript extension will incorrectly open the file using Mac Roman encoding, and some characters won't display correctly. However, reopening the file with UTF-8 encoding in VSCode will display all characters correctly.

dpet23 commented 3 years ago

I'm not sure what changes are needed. If you have a suggestion, please reopen the issue or create a PR.