Skip to content

apply_dnd does not support file paths containing cyrillic symbols #45

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

Open
Shararamosh opened this issue Mar 5, 2025 · 0 comments
Open

Comments

@Shararamosh
Copy link

Whenever I try drag-and-dropping files containing cyrillic symbols into my apply_dnd widgets, I get the following error:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc2 in position 24: invalid continuation byte Exception ignored on calling ctypes callback function: <function apply_dnd.__init__.<locals>.py_drop_func at 0x000001B28D9CC220> Traceback (most recent call last): File "D:\Program Files\Python\Python311\Lib\site-packages\pywinstyles\py_win_style.py", line 205, in py_drop_func drop_name = file_buffer.value.decode("utf-8") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc2 in position 24: invalid continuation byte

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant