After re-reeding through my big fat old Linux book I found out that I just have to start the script with env LANG=en_US ./my_email_script.sh then KMail will compose the Mails with iso-8859-1... Am Freitag, 25. August 2006 20:06 schrieb Daniel Bauer: > > After I run the following script that I have saved in a file using kwrite > > with iso-8859-1 encoding: > > > > #!/bin/sh > > dcopref=`dcop kmail KMailIface > > openComposer "e-mail-adress" "cc-address" "bcc-address" "subject" "text > > äöü" 1` dcop "$dcopref" send 2 > > > > the "text äöu" in KMail's out folder is utf-8 encoded [...] > > > > How can I achieve that Kmail composes the mails it receives from my > > dcop-scripts in iso-8859-1? [...] > > additional note: > > when I copy the commands from the .sh file and paste it into a text-console > it works as expected (Mail is iso-8859-1). But when I run the script-file > the mail is utf-8 encoded. What am I doing wrong here??? -- Daniel Bauer photographer Basel Switzerland professional photography: http://www.daniel-bauer.com Madagascar special: http://www.sanic.ch _______________________________________________ KDE PIM users mailing list kdepim-users@kde.org https://mail.kde.org/mailman/listinfo/kdepim-users