'utf-8' Codec Can't Decode Byte 0x80 In Position 65: Invalid ... - GitHub

Skip to content Dismiss alert {{ message }} / RPA-Python Public
  • Notifications You must be signed in to change notification settings
  • Fork 670
  • Star 5k
  • Code
  • Issues 1
  • Pull requests
  • Security
  • Insights
Additional navigation options 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.

Sign up for GitHub

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

Jump to bottom 'utf-8' codec can't decode byte 0x80 in position 65: invalid start byte on init() - chcp? #215 Closed hc-hyun opened this issue Feb 27, 2021 · 2 comments Closed 'utf-8' codec can't decode byte 0x80 in position 65: invalid start byte on init() - chcp? #215 hc-hyun opened this issue Feb 27, 2021 · 2 comments Labels query

Comments

@hc-hyun Copy link

hc-hyun commented Feb 27, 2021

109378088-05962e80-7913-11eb-9bdb-a2dffb3fc667

Dear kensoh, I got this error when try to call init(). I'm not sure but, It seems that tagui's initail message has undecodeable text.

C:\Users\hc.hyun>tagui c:\tagui\flows\samples\1_google.tag START - automation started - Sat Feb 27 2021 15:38:00 GMT+0900 (?�?쒕?援??쒖???

FYI, My windows use korean. If possible, please check this issue. Thanks in advance!

All reactions @hc-hyun Copy link Author

hc-hyun commented Mar 2, 2021

C:\Users{{user}}\AppData\Roaming\tagui\src\tagui_header.js

// save start time to measure execution time //var automation_start_time = Date.now(); casper.echo('\nSTART - automation started - ' + Date().toLocaleString()); var automation_start_time = Date.now(); casper.echo('\nSTART - automation started');

FYI, I fixed like above for test, and then error was gone.

All reactions @kensoh Copy link Member

kensoh commented Apr 2, 2021 edited Loading

Thanks @hc-hyun for sharing back your solution! For Windows command prompt, I believe there is a need to use chcp command to change code page to the correct language in order to display the local language correctly.

Below is an example but for Chinese - http://www.walkernews.net/2013/05/19/how-to-get-windows-command-prompt-displays-chinese-characters/

If this is a common issue for Korean users, then it is probably a good idea to discuss whether to hack this thing permanently so that the date of automation start does not show up and cause this error. Some ideas could be doing a chcp 65001 before running, or having somewhere to choose which chcp number to enable.

All reactions @kensoh kensoh closed this as completed Apr 2, 2021 @kensoh kensoh added the query label Apr 2, 2021 @kensoh kensoh changed the title utf-8' codec can't decode byte 0x80 in position 65: invalid start byte on init() utf-8' codec can't decode byte 0x80 in position 65: invalid start byte on init() - chcp issue? Apr 2, 2021 @kensoh kensoh reopened this Apr 2, 2021 @kensoh kensoh changed the title utf-8' codec can't decode byte 0x80 in position 65: invalid start byte on init() - chcp issue? utf-8' codec can't decode byte 0x80 in position 65: invalid start byte on init() - chcp? Apr 2, 2021 @kensoh kensoh changed the title utf-8' codec can't decode byte 0x80 in position 65: invalid start byte on init() - chcp? 'utf-8' codec can't decode byte 0x80 in position 65: invalid start byte on init() - chcp? Apr 2, 2021 @kensoh kensoh mentioned this issue Apr 8, 2021 'utf-8' codec can't decode byte 0x80 in position 65: invalid start byte on init() - chcp? #195 Closed @kensoh kensoh closed this as completed Apr 28, 2021 @kensoh kensoh mentioned this issue Apr 19, 2022 'utf-8' codec can't decode byte 0xb0 in position 65: invalid start byte - chcp? #374 Closed Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Assignees No one assigned Labels query Milestone No milestone Development

No branches or pull requests

2 participants @kensoh @hc-hyun You can’t perform that action at this time.

Từ khóa » C 0x80