Bramas / Ultratools

Editor for Ultrastar songs
5 stars 5 forks source link

Kyrillic mp3 filename and FMODex #7

Open palsch opened 8 years ago

palsch commented 8 years ago

If my UTF8 pull request will be accepted, there will be another encoding problem with FMODex and mp3 filenames.

In my case kyrillic mp3 filename. FMOXex can't find that file because of the encoding issue. I couldn't find a solution for that. But I have a possible workaround.

My proposal for a workaround: Always make a temporary copy of the mp3 file inside the song folder with a static filename. This file should then be used for FMODex. After the edit session, the temporary mp3 file has to be deleted.

What do you think about it? Or do you have a solution for that problem?

palsch commented 8 years ago

There is also a problem, if the mp3 file is saved in a folder with kyrillic folder name. So my workaround has to be adapted. The temporaly mp3 file has to be saved somewhere else. Maybe to the default temp folder of the OS.