Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > fr.comp.lang.python > #3251

Re: fileinput

From Jo Engo <yl@icite.fr>
Newsgroups fr.comp.lang.python
Subject Re: fileinput
Date 2019-10-26 07:43 +0000
Organization Serveur de salon
Message-ID <qp0te8$igo$3@nemo.pasdenom.info> (permalink)
References <713a01f1-05ac-4e7c-9153-afc6186ae7be@googlegroups.com>

Show all headers | View raw


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 -+-

Back to fr.comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

fileinput lacsaP Patatetom <patatetom@gmail.com> - 2019-10-25 13:04 -0700
  Re: fileinput Jo Engo <yl@icite.fr> - 2019-10-26 07:43 +0000
    Re: fileinput lacsaP Patatetom <patatetom@gmail.com> - 2019-10-26 08:15 -0700
      Re: fileinput Jo Engo <yl@icite.fr> - 2019-10-27 07:40 +0000
        Re: fileinput lacsaP Patatetom <patatetom@gmail.com> - 2019-10-27 01:04 -0700
          Re: fileinput lacsaP Patatetom <patatetom@gmail.com> - 2019-10-27 01:08 -0700
            Re: fileinput lacsaP Patatetom <patatetom@gmail.com> - 2019-10-27 01:16 -0700

csiph-web