Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add unicode error catching #29

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

add unicode error catching #29

wants to merge 1 commit into from

Commits on May 20, 2022

  1. add unicode error catching

    So i found this when i hit some non unicode files. 
    
    examples of some errors caught with this
    
    this is a rough fix but at least allows tests to complete. without this catch the script would crash
    ```
    unable to process file (path removed) due to unicode decode error
    'utf-8' codec can't decode byte 0xa7 in position 195: invalid start byte
    unable to process file (path removed) due to unicode decode error
    'utf-8' codec can't decode byte 0xa1 in position 33: invalid start byte
    ```
    ITJamie authored May 20, 2022
    Configuration menu
    Copy the full SHA
    857025e View commit details
    Browse the repository at this point in the history