Path: csiph.com!usenet.pasdenom.info!.POSTED.88.191.100.17!not-for-mail From: Jo Engo Newsgroups: fr.comp.lang.python Subject: Re: fileinput Date: Sat, 26 Oct 2019 07:43:04 -0000 (UTC) Organization: Serveur de salon Message-ID: References: <713a01f1-05ac-4e7c-9153-afc6186ae7be@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 26 Oct 2019 07:43:04 -0000 (UTC) Injection-Info: nemo.pasdenom.info; posting-account="yl@icite.fr"; posting-host="88.191.100.17"; logging-data="18968"; mail-complaints-to="abuse@pasdenom.info" User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a git.gnome.org/pan2) Xref: csiph.com fr.comp.lang.python:3251 Le Fri, 25 Oct 2019 13:04:57 -0700, lacsaP Patatetom a écrit : > python3.7.4 myscript.py myfile.log Traceback (most recent call last): > ... > UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe8 in position > 799: invalid continuation byte Tu as un caractère non-UTF8 dans le fichier que tu parse (à la position 799 et il s'agit du caractère 0xE8 -- Qu'est-ce qu'un adulte ? Un enfant gonflé d'âge. -+- Simone de Beauvoir -+-