Re: [tdf-discuss] Who does the maintenance Phyton Mailmerge script
On Mon, Jun 27, 2011 at 4:04 PM, Fernand Vanrie <email@example.com> wrote:
the bug report <https://bugs.freedesktop.org/show_bug.cgi?id=38713>
The repair in Mailmerge.py is quite simple
at line 154 we have textbody = textbody.encode('utf-8')
where the textbody contains non-ascii characters like (éèà etc...)
so just insert
textbody = unicode( textbody, "utf-8" )
before line 154 and everyting works fine !
i make also the bug report with the correct
On Mon, Jun 27, 2011 at 1:45 PM, Fernand Vanrie<firstname.lastname@example.org> wrote:
I found that we can send Emails using Basic and the API using the
There is a small problem to send Emails with non us-ascii characters. I
solved the problem in the Python script, just wondering how do i pass
correction to the original script who is delivered by the native
I supose filling a issue ?
Is this the file you were working on?
If so, then the way to go for this is:
1. create a patch (diff file) which highlights the changes you did to
the Python code.
If you can put your final version of mailmerge.py online, I can help
you create the appropriate patch.
2. file a bug report at
Select the the component 'LibreOffice'.
3. tell us here the URL of this bug report so that we can have a look.
There are several encoding issues with the Python scripts, so it would
be nice to find a way to fix them all in one go.
I created a patch for https://bugs.freedesktop.org/show_bug.cgi?id=38713
The way to create a patch is quite simple,
1. Install 'git' for your operating system. Google for more or ask here.
git clone git://anongit.freedesktop.org/libreoffice/libs-core
3. Then, enter the libs-core/ directory, find your file and perform the change.
4. Finally, run
and it will create a diff that can be sent to bug reports.
Unsubscribe instructions: E-mail to email@example.com
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted
Impressum (Legal Info)
: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (MPLv2
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our trademark policy