summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-11-14 11:46:39 +0100
committerEike Rathke <erack@redhat.com>2017-11-14 14:49:19 +0100
commite4e4097a95cc66785d5828f05dd43cb0cc98b845 (patch)
tree09e1cb98282b8f660f2f8bf3d851206dadb60590 /sd
parent2818280eb4f2af5a76a338676d12dcf2d721c2e9 (diff)
Changed encoding from cp1252 to UTF-8
In [54]: open("sc/qa/unit/pivottable_filters_test.cxx",'r').readlines() --------------------------------------------------------------------------- UnicodeDecodeError Traceback (most recent call last) <ipython-input-54-39091a82db4d> in <module>() ----> 1 open("sc/qa/unit/pivottable_filters_test.cxx",'r').readlines() /usr/lib/python3.6/codecs.py in decode(self, input, final) 319 # decode input (taking the buffer into account) 320 data = self.buffer + input --> 321 (result, consumed) = self._buffer_decode(data, self.errors, final) 322 # keep undecoded input until the next call 323 self.buffer = data[consumed:] UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe1 in position 1648: invalid continuation byte In [55]: open("sc/qa/unit/pivottable_filters_test.cxx",'r',encoding="cp1252").readlines() Out[55]: ['/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */\n', '/*\n', ... Change-Id: Iad48bdf3502fcb6340e358249781a39d50f80c85 Reviewed-on: https://gerrit.libreoffice.org/44708 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sd')
0 files changed, 0 insertions, 0 deletions