summaryrefslogtreecommitdiff
path: root/shell/source/unix/misc/senddoc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/unix/misc/senddoc.sh')
-rw-r--r--shell/source/unix/misc/senddoc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/unix/misc/senddoc.sh b/shell/source/unix/misc/senddoc.sh
index 05409e027f..2e22b8e312 100644
--- a/shell/source/unix/misc/senddoc.sh
+++ b/shell/source/unix/misc/senddoc.sh
@@ -329,7 +329,8 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
while [ "$1" != "" ]; do
case $1 in
--attach)
- ATTACH="${ATTACH:-}${ATTACH:+ } $2"
+ #i95688# fix filenames containing accented chars, whatever alien
+ ATTACH="${ATTACH:-}${ATTACH:+ }"`echo "file://$2" | ${URI_ENCODE}`
shift
;;
*)
@@ -337,7 +338,6 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
esac
shift;
done
-
/usr/bin/open -a "${MAILER}" ${ATTACH}
;;