Skip to content

Add support for reading Unicode Filename packet #235

@animetosho

Description

@animetosho

par2cmdline doesn't support reading the optional Unicode Filename packet.
This packet can be useful as it has a defined character set (unlike the "ASCII" File Description packet).

I'm creating this issue because a patch was submitted to add support, which I thought should be noted down (instead of being lost). I've attached a copy below.
I haven't reviewed it, but it might be useful as a starting point if anyone wants to implement and merge this functionality into par2cmdline.

par2turbo.unifilen.gitdiff.patch

Implementers may need to be wary of the Windows unicode implementation, as well as issues like #231 .
For non-Windows, assuming a UTF-8 locale seems reasonable, to avoid the need to handle many different encodings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions