From 5c782cf1a6c5a89943e5dec2a3b5b6d1694b5714 Mon Sep 17 00:00:00 2001 From: C. Scott Ananian Date: Wed, 13 Aug 2008 21:58:05 +0000 Subject: Filesystem paths should be byte arrays, not unicode sequences. (dlo trac #7733) Passing a unicode string to os.path.join(x,y) and other functions will attempt to convert all sides of the path to unicode using the ASCII encoding. This will prohibit the use of non-ASCII characters in filenames, which is not what we want! We need all paths passed around internally to be 'str' objects, not 'unicode' objects. Unfortunately, dbus' STRING type enforces UTF-8 encoding. So, we compromise: we use 's' in our dbus signature, but we pass the 'utf8_strings=True' keyword option when we declare our methods, so that the parameters are given to use as 'str' not 'unicode'. These functions will not support filenames which are not UTF-8 encoded. --- (limited to 'po/nl.po') -- cgit v0.9.1