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

Python UTF-8 does not come out UTF-16? It was strange from startup, but it was fixed and an error occurs with (utf-8) with the Japanese character code. #7512

Closed
vsfeedback opened this issue Apr 12, 2023 · 2 comments

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


2023-04-05.png
Garbled in the run below. Is it a mistake between UTF-8 and UTF-16?


Original Comments

Feedback Bot on 4/5/2023, 08:29 PM:

(private comment, text removed)

Unknown on 4/7/2023, 00:39 AM:

(private comment, text removed)


Original Solutions

(no solutions)

@StellaHuang95 StellaHuang95 added needs investigation Could be an issue - needs investigation and removed needs triage labels Apr 14, 2023
@StellaHuang95
Copy link
Contributor

image

@StellaHuang95
Copy link
Contributor

Hi there, thanks for reporting this. It seems that the character you used has a byte representation that is not valid in the encoding that Python is trying to use to read your file. Could you go to File -> Save As -> click the dropdown button next to Save, choose save with encoding -> choose UTF-8 and re-run the script? Please re-open the ticket with a copy of your script if the issue still persists, thanks!

@StellaHuang95 StellaHuang95 added waiting for response and removed needs investigation Could be an issue - needs investigation labels Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants