Wireshark-commits: [Wireshark-commits] master ec0ba41: test: fix sampleif.py on weird systems using
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 16 Apr 2019 03:28:48 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ec0ba4185a3b8dbd8dd5e8f3451243f831d9e9fc
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

ec0ba41 by Peter Wu (peter@xxxxxxxxxxxxx):

    test: fix sampleif.py on weird systems using Python 3.6 and older
    
    Setting PYTHONIOENCODING=utf-8 would also work, but only if it is done
    for every test that could possibly invoke the extcap. Let's patch the
    script instead to force UTF-8 for its output encoding. Thanks to Greg
    for the suggestion at https://stackoverflow.com/a/4374457/427545
    
    Change-Id: I2e39e65e49465392c5b077c8b13ed931073661fb
    Reviewed-on: https://code.wireshark.org/review/32868
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  27dd00b   Readability improvements to WSUG - Introduction
     add  ec0ba41   test: fix sampleif.py on weird systems using Python 3.6 and older


Summary of changes:
 test/sampleif.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)