MacOS – Wine in OS X: Issues with paths that include spanish special characters

encodingmacosmacportswine

I have installed Wine via MacPorts on OS X El Capitan so I have a standard wine setup. I am having the following issue:

My default language in OS X in English but I am Spanish therefore some of my folders and files have characters like "á,é,í,ó,ú,ñ,¿". For some reason Wine cannot display Spanish characters properly. For example, I have installed AIMP 4, and everything works perfectly except Wine cannot display Spanish characters in their names. See the images below for more information.

(First image shows how it should like, second image shows how wine encodes this path names.)

Folders in Finder with the right Spanish characters

Folders in the wine Explorer, showing how wine is using a different encoding

Does someone know how to fix this? I have already tried changing the path setting "LC_MESSAGES=es_ES.UTF-8 wine path_to_exe" but it does not change anything.

Thanks in advance.

Best Answer

There are many other locale variables besides LC_MESSAGES. Try doing the same for LANG and also for LC_ALL.