On Jun 12, 2014, at 8:53 AM, Bernd Schmidt <ber...@codesourcery.com> wrote: > I've recently been trying to add ada to my set of tested languages, and I now > encounter the following: > > File "../../git/gcc/../contrib/dg-extract-results.py", line 242, in parse_run > line = file.readline() > File "/usr/lib64/python3.3/codecs.py", line 301, in decode > (result, consumed) = self._buffer_decode(data, self.errors, final) > UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe1 in position 5227: > invalid continuation byte
In the old skool world, these are byte sequences that end in ‘\n’… no decoding errors are possible… well, maybe one, if you tried to put ‘\0’ in the stream. :-( Maybe a LANG/LC type person can suggest an environment variable to set that would make things happier, else we’re down to a python person to solve from that side. My knee jerk would be LANG=c for the entire test suite run...