Feathercoin-Foundation / electrum-ftc

Electrum-FTC; Feathercoin thin client. Follows upstream by rebasing FTC patches. Tags remain stable.
MIT License
10 stars 8 forks source link

Standard/Cosigner wallet ->Loading an external file other than .txt and .csv should throw an proper error message #90

Open Anilkumar18 opened 6 years ago

Anilkumar18 commented 6 years ago

Expected Behavior

Standard/Cosigner wallet ->Loading an external file other than .txt and .csv should throw an proper error message

Current Behavior

Standard/Cosigner wallet ->Loading an external file other than .txt and .csv throws an error "Error opening file: 'charmap' codec can't decode byte 0x81 in position 127: character maps to "

Steps to Reproduce

Any place where user can load a file externally , when any file other than .txt and .csv is uploaded an error is throw which should be understandable.Currently the error msg shown is "Error opening file: 'charmap' codec can't decode byte 0x81 in position 127: character maps to "

Your Environment