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

PR: Always use utf-8 when handling QByteArray data in ProcessWorker (Utils) #22656

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ccordoba12
Copy link
Member

Description of Changes

  • It seems the previous approach (using the Windows code page) was necessary to have compatibility with Python 2.
  • That was affecting opening project files in our switcher with the help of fzf.

Issue(s) Resolved

Fixes #22546.

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:

@ccordoba12
Copy link
Member Author

@dalthviz, could you check that our fzf support works in a project directory that has Chinese and/or Arabic characters in its name? Thanks!

@ccordoba12 ccordoba12 changed the title Utils: Always use utf-8 when handling QByteArray data in ProcessWorker PR: Always use utf-8 when handling QByteArray data in ProcessWorker (Utils) Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UnicodeDecodeError when changing files with an open project
1 participant