Quite frustrating..
So i saw that xbmc.log always said:
20:21:41 T:2997266176 DEBUG: trying to set locale to de_DE.UTF-8
20:21:41 T:2997266176 INFO: global locale set to de_DE.UTF-8
or other countries, but always with UTF-8
So, i checked the source, and there actually is:
xbmc/LangInfo.cpp
Quote:void CLangInfo::CRegion::SetGlobalLocale()
{
CStdString strLocale;
if (m_strRegionLocaleName.length() > 0)
{
strLocale = m_strLangLocaleName + "_" + m_strRegionLocaleName;
#ifdef TARGET_POSIX
strLocale += ".UTF-8";
#endif
}
Where TARGET_POSIX is really linux. I totally don't get why thats being done...
Anyhow. I removed that, compiled XBMC, and i see the xbmc.log to be fine now:
20:21:41 T:2997266176 DEBUG: trying to set locale to de_DE
20:21:41 T:2997266176 INFO: global locale set to de_DE
And of course if i set these locales on my linux PC in the shell or elsewhere they work beautifully with all the ISO 8859 filenames in the system.... But not so XBMC. Still all non C locale charaters not showing up.
Creating some UTF_8 filenames with German Umlauts, and e voila... XBMC displays tham corectly.
No idea where to look next.