Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.

Unicode error #3

Closed
0x4248 opened this issue May 19, 2021 · 0 comments
Closed

Unicode error #3

0x4248 opened this issue May 19, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@0x4248
Copy link
Owner

0x4248 commented May 19, 2021

Describe the bug
Xshell throws out an error when you print a binary file

Expected behavior
Print the binary

Xshell [Build_ver:0.1.13 Running on Linux #488-Microsoft Mon Sep 01 13:43:00 PST 2020]
Welcome to Xshell you can edit this message in system/system64/config/welcome/en-uk/welcome.lang
┌──[Xshell@XPS-Lewis]──[/mnt/c/Users/aweso/Desktop/Xshell-main/Xshell-Main/Xshell]
└─>dir
──[Directory]──[/mnt/c/Users/aweso/Desktop/Xshell-main/Xshell-Main/Xshell]
[FILE]─[main.py]
[FILE]─[py.exe]
[DIR]──[system]
┌──[Xshell@XPS-Lewis]──[/mnt/c/Users/aweso/Desktop/Xshell-main/Xshell-Main/Xshell]
└─>print py.exe
Traceback (most recent call last):
  File "main.py", line 157, in <module>
    command.run(user_input)
  File "/mnt/c/Users/aweso/Desktop/Xshell-main/Xshell-Main/Xshell/system/system64/command.py", line 50, in run
    print(file.read())
  File "/usr/lib/python3.8/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 2: invalid start byte

System info
ubuntu 20.4 on WSL host is windows 10

@0x4248 0x4248 pinned this issue May 19, 2021
@0x4248 0x4248 added the bug Something isn't working label May 19, 2021
@0x4248 0x4248 assigned 0x4248 and unassigned 0x4248 May 19, 2021
@0x4248 0x4248 closed this as completed Jun 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant