[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Checking international filenames
From: Michael Leupold <lemma () confuego ! org>
Date: 2008-11-16 11:44:29
Message-ID: 200811161244.32379.lemma () confuego ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Hi,
I want to allow kwallet users to specify non-ascii filenames for their wallets
and wondered if using QTextCodec::codecForLocale()->canEncode(filename) is the
correct way to check if a filename can be properly used (of course with
additional checks for unsupported characters)?
Without doing this check I figured I might end up with "?????" filenames if
entering eg. cyrillic characters on a non-UTF locale.
Regards,
Michael
["signature.asc" (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic