Skip to content

Allow logParser to run on ascii locales

Spyros Argyropoulos requested to merge encoding into master

Changes introduced

Ascii based systems will not allow logParser to run since logs may contain non-ascii characters:

Screenshot_2022-04-10_at_16.58.14

Change the locale internally in logParser to utf8 to allow running on ascii-based systems.

Tests

LC_CTYPE=en_US.ascii python3 scripts/logParser.py -i 100xxx/100000/log.generate runs without issues

can further be tested by @aivina

Issues resolved

Closes #165 (closed)

Merge request reports