Ubuntu 18.04:Display all character sets (filenames) in app

Questions about Wine on Linux
Locked
mrjayviper
Level 1
Level 1
Posts: 7
Joined: Tue May 08, 2018 10:52 am

Ubuntu 18.04:Display all character sets (filenames) in app

Post by mrjayviper »

So I have a music collection that came from various places (East Asian, Indian, those European languages with accents and etc). The filenames are in the original language/character set.

When I launch an app like foobar2000, I can see squares that are used instead of the Japanese characters for the artist I'm looking at.

Any ideas on how to fix this?

As a test, I tried:

1. sudo apt install language-pack-ja* language-pack-gnome*ja*
2. changing Windows version to Windows10 in winecfg

and I still get the same issue in foobar2000.

Thanks
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: Ubuntu 18.04:Display all character sets (filenames) in a

Post by dimesio »

Start the app with the appropriate LANG variable. There are some examples on https://wiki.winehq.org/Testing_Languages.
mrjayviper
Level 1
Level 1
Posts: 7
Joined: Tue May 08, 2018 10:52 am

Re: Ubuntu 18.04:Display all character sets (filenames) in a

Post by mrjayviper »

echo $LANG gives me en_US.UTF-8

so I tried:

LANG=en_US.UTF-8 wine ~/.wine/drive_c/Program\ Files\ \(x86\)/foobar2000/foobar2000.exe

LANG=en_US wine ~/.wine/drive_c/Program\ Files\ \(x86\)/foobar2000/foobar2000.exe

and this didn't solve my issue.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Ubuntu 18.04:Display all character sets (filenames) in a

Post by DarkShadow44 »

Of course setting the variable to what is was before wouldn't help...

Did you try setting it to "ja_JP.UTF-8"?
mrjayviper
Level 1
Level 1
Posts: 7
Joined: Tue May 08, 2018 10:52 am

Re: Ubuntu 18.04:Display all character sets (filenames) in a

Post by mrjayviper »

DarkShadow44 wrote:Of course setting the variable to what is was before wouldn't help...

Did you try setting it to "ja_JP.UTF-8"?
That worked but now I can't read/understand foobar2000 since the app interface is entirely in Japanese. I'm guessing this doesn't really solve my issue since I have files (music files) that uses various character sets (Chinese, Thai, Korean and etc)

seems using LANG as "workaround" is not the ideal solution considering other apps (music tag editors) behaves differently when this is set to something other than English.

Would be nice to get the normal Windows behavior without messing around with locales and etc.
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: Ubuntu 18.04:Display all character sets (filenames) in a

Post by dimesio »

Try installing fonts with the needed characters to the wineprefix. Winetricks has several options for CJK fonts.
Locked