Gtkmm4 Windows app on MSYS2 produce messages: Can't set global locale to the user's prefered locale

I have basic app hello word from this page:
https://gnome.pages.gitlab.gnome.org/gtkmm-documentation/sec-helloworld.html
but it produce this Warning message:


Can somebody say how to setup locale for MSYS2 on Windows? or how to repair it?

Hi,

Looks like the app tries to use Czech_Czechia.1250 as locale, that doesn’t look valid.

Can you try one of these?

export LANG=cs_CS.UTF-8
export LC_ALL=cs_CS.UTF-8

Thanks, there is output:


I have Czech localized Windows. I think than on linux is also similar problem when I can run some app with language which not installed in system (setup locale - sudo dpkg-reconfigure locales) how I can do this on MSYS? How is the situation about chracter set? windows do not use UTF-8 but 1250. Exist some extra locales for this character set? Thanks

When I run same app on Debian but with different non installed language locales I got this:

Hi! I think that’s a bug, will look more closely…

1 Like