array of string

Robert McQueen robert.mcqueen at collabora.co.uk
Sun Oct 30 15:48:55 PST 2005


yohann (yrc) coppel wrote:
> final reply:
> 
> it was UTF-8 encoded filename... from windows... :-/

No, UTF-8 would've been fine. All strings in D-Bus must be encoded as
UTF-8, anything else is invalid. Windows doesn't use UTF-8 for anything,
it stores filenames in different character sets depending upon your
locale. Probably ISO-8859-1, 2 or 15 if you're talking about European
accented chars. When mounting a Windows filesystem, I think you can set
encoding options to ensure that filenames are represented as UTF-8 to
the Linux programs. Because locales can be set per-user, the only
possible sane approach is to have all of your files named in UTF-8 so
all characters are representable and understandable.

Regards,
Rob


More information about the dbus mailing list