National Characters in User Name Cause Troubles

8 posts / 0 new
Last post
valsolim's picture
valsolim
Offline
Last seen 2 weeks 14 hours ago

National Characters in User Name Cause Troubles

Hello, Synfire creators!

It has been quite a long time since I noticed that Synfire is not particularly UTF friendly: for instance, it does not preserve national characters in container names. If it were only those little things I wouldn't call it a bug. However, recently I have found out that real troubles begin when a user has some national characters in his user name (at least, on Windows 10). In this configuration, drag-and-drop MIDI from Synfire to DAW simply does not work! I have tested this thoroughly on three machines here and the bug turned out quite clearly: even on the same machine, drag-and-drop worked for an ASCII-only user but it didn't work for a user "Miloň", for instance.

It seems that those transferred MIDI files get succesfully saved in the folder "C:\Users\Miloň\Documents\Synfire Pro\Drag" but they don't get pasted into the DAW (I have tested Cubase Pro 9 and also the latest SONAR - with the same results) . And yes, I didn't forget to press the spacebar while dragging.

I suppose that changing the configuration folder location would be a workaround, unfortunately, it's not possible to change its location anymore so I'm out of luck...

Could you, please, find a solution to this problem? Thanks for any response!

Best regards

Miloslav

 

andre's picture
andre
Offline
Last seen 3 days 16 hours ago

Thanks for reporting this issue and narrowing it down already.

Synfire works fully UTF-8 internally, but as you pointed out, there's an issue with preserving that information on export. This will be an easy fix and most likely included with the next build.

valsolim's picture
valsolim
Offline
Last seen 2 weeks 14 hours ago

Hello, Andre,

in the Synfire changelog I noticed the new comment "Failed drag & drop export with UTF-8 filenames" under resolved bugs. So, I eagerly installed the new version (1.8.2 build #4, Windows), nevertheless, I have to say that nothing has changed for me. The drag-and-drop function still doesn't work and national characters are still displayed incorrectly in containers as well as in menus. Please, have a look at the screenshots attached. It's interesting that the arrangement name is correctly displayed in the caption of the window (Třetí věta - Third Movement), however, the root container is wrong. Actually, it looks like a Latin-1 interpretation of the Czech letters.

The second picture is from the Preferences->Files menu: my file paths are also displayed incorrectly: "c:\Users\Miloň\Documents\Synfire Pro" should be the correct string.

Please, could you have a look at this issue one more time?

Best regards

Miloslav

andre's picture
andre
Offline
Last seen 3 days 16 hours ago

We fixed a very obvious bug with the drag & drop function that lacked UTF-8 support, so thinking that would have fixed it was too optimistic. Thanks for providing the examples. Seems to be an issue on Windows only.

valsolim's picture
valsolim
Offline
Last seen 2 weeks 14 hours ago

Okay, thanks for clarification, Andre! Anyway, I still keep being optimistic... smiley

Miloslav

andre's picture
andre
Offline
Last seen 3 days 16 hours ago

Fixing UTF-8 bugs on the Mac was straightforward, but on Windows, getting rid of the default ISO encoding turns out to be more work than expected, because some 3rd party software components don't play nice. Files like 'Třetí věta.cognac' don't even show up properly yet when listing directory contents. This will take more time and needs to be done in parallel to other development.

In the meanwhile, to allow drag & drop export, we'll look for a workaround that doesn't use the user's home directory for intermediate storage.

valsolim's picture
valsolim
Offline
Last seen 2 weeks 14 hours ago

Files like 'Třetí věta.cognac' don't even show up properly yet when listing directory contents.

That's because Synfire saves those files incorrectly. When you rename such a file afterwards it will show up fine in Windows Explorer (third party file managers can behave differently, though). I believe that Win10 file system supports UTF-8 without problems. For instance, my Windows system language is Czech, yet I can work in Cubase with files like "Fünfter Satz.cpr" or even "Картинки с выставки.cpr"

Anyway, thanks for the info and for your prompt support. I believe you will eventually find a solution!

valsolim's picture
valsolim
Offline
Last seen 2 weeks 14 hours ago

Andre, thank you so much for the workaround regarding drag-and-drop! Indeed, it works now for me in Synfire Pro 1.8.3.

I'm looking forward to the full UTF-8 support for Windows wink

Miloslav

Log in or register to post comments

Scholarly Lite is a free theme, contributed to the Drupal Community by More than Themes.