Skip to content

apply_dnd does not support file paths containing cyrillic symbols #45

@Shararamosh

Description

@Shararamosh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions