General chat • Re: Navigating Multiboot GRUB2 menu entries successfully.
http://forum.porteus.org/viewtopic.php?t=2195&p=15042#p15042
On May 23, 2013 3:12 AM, "Merlijn van Deen" <valhall...@arctus.nl> wrote:

> Hi Hercule,
>
> On 23 May 2013 00:38, Hercule Hercule <hercule.wikipe...@gmail.com> wrote:
> > python /home/hercule/template.py "Lien" "Lien/Conversion automatique"
> > -cat:"Page utilisant Lien pour un article existant" -summary:"[Bot] :
> > transformation de liens avec le modèle {{Lien}} en lien interne, suite à
> la
> > création de l'article correspondant" -assubst -pt:0 -always
> > mutt -s "Fin de LienFr" hercule < /home/hercule/logs/LienFr.log
>
>
> If you have saved the file in the utf-8 encoding (which the edit
> summary suggests), try using (on one line)
>
> LANG=en_GB.UTF-8 python /home/hercule/template.py ...
>
> or (on two lines)
> export LANG=en_GB.UTF-8
> python /home/hercule/template.py ...
>
> Basically, you have to tell pywikipedia which encoding you have used
> for the shell arguments - in your case UTF-8. Otherwise it will use
> latin-1 as default, which results in the mojibake you saw.
>
> Merlijn
>
> _______________________________________________
> Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
> https://lists.wikimedia.org/mailman/listinfo/toolserver-l
> Posting guidelines for this list:
> https://wiki.toolserver.org/view/Mailing_list_etiquette
_______________________________________________
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list: 
https://wiki.toolserver.org/view/Mailing_list_etiquette

Reply via email to