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

UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 724: character maps to <undefined> #131635

Closed
marcushx opened this issue Mar 23, 2025 · 1 comment
Labels

Comments

@marcushx
Copy link

marcushx commented Mar 23, 2025

Bug report

Bug description:

Image

CPython versions tested on:

3.13

Operating systems tested on:

No response

@marcushx marcushx added the type-bug An unexpected behavior, bug, or error label Mar 23, 2025
@brianschubert
Copy link
Contributor

Hi! This isn't a CPython bug. Your script is trying to read a file using an incorrect encoding. You can try specifying a different encoding by passing a value to the encoding parameter when calling open. Using encoding="utf-8" is often a good guess.

In the future, it's a good idea to ask about potential bugs on https://discuss.python.org/c/help/7 before opening an issue.

@picnixz picnixz closed this as not planned Won't fix, can't repro, duplicate, stale Mar 23, 2025
@picnixz picnixz added invalid and removed type-bug An unexpected behavior, bug, or error labels Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants