When my computer container a filename with a Chinese text, the termscp just crashed
Steps to reproduce
Create a file container Chinese text, then connect to server
Expected behaviour
TermSCP do not crash
Environment
OS: [MacOS]
Architecture [x86_64]
termscp version 0.8.1
Protocol used SFTP
Log
thread 'main' panicked at 'byte index 23 is not a char boundary; it is inside '终' (bytes 21..24) of `「汉字之趣」最终版.pptx`', src/explorer/formatter.rs:
308:37
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Description
When my computer container a filename with a Chinese text, the termscp just crashed
Steps to reproduce
Create a file container Chinese text, then connect to server
Expected behaviour
TermSCP do not crash
Environment
Log
Additional information
No additional information