[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Problems with KDE_stat on systems where the default locale is not
From:       Christian Ehrlicher <Ch.Ehrlicher () gmx ! de>
Date:       2008-11-19 20:42:23
Message-ID: 49247A2F.4010601 () gmx ! de
[Download RAW message or body]

Hi,

When QFile::encodeName() can't convert an unicode character into the 
system locale (== all locales except utf-8), the non-convertable 
character is replaced by a question mark. Now that the filename is 
broken, KDE_stat() can't do anything usefull and fails.
For me looks like KDE_stat() and others are broken by design (when 
system locale is not utf-8) and we need a unicode version of KDE_stat().

Any ideas how to fix this issue? Maybe a new class KLocalFile which 
wraps all KDE_foo functions?



Christian
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic