diff -Naur xdg-utils-1.1.0-rc1.orig/scripts/xdg-email xdg-utils-1.1.0-rc1/scripts/xdg-email --- xdg-utils-1.1.0-rc1.orig/scripts/xdg-email 2011-01-01 11:03:14.000000000 +0100 +++ xdg-utils-1.1.0-rc1/scripts/xdg-email 2011-01-08 23:01:19.000000000 +0100 @@ -458,12 +458,13 @@ DEBUG 1 "Running kmailservice \"$1\"" if [ x"$KDE_SESSION_VERSION" = x"4" ]; then KMAILSERVICE=`kde4-config --locate kmailservice --path exe 2>/dev/null` + # KDE uses locale's encoding when decoding the URI, so set it to UTF-8 + LC_ALL=C.UTF-8 $KMAILSERVICE "$1" else KMAILSERVICE=`which kmailservice 2>/dev/null` + LC_ALL=C.UTF-8 $KMAILSERVICE "$1" + kfmclient_fix_exit_code $? fi - # KDE uses locale's encoding when decoding the URI, so set it to UTF-8 - LC_ALL=C.UTF-8 $KMAILSERVICE "$1" - kfmclient_fix_exit_code $? if [ $? -eq 0 ]; then exit_success