Skip to content

Unicode COMM tags are not written correctly #66

@Mbucari

Description

@Mbucari

When writing a unicode COMM tag, the null tag description is missing the BOM prefix.

return CheckResult(NativeMethods.id3tag_set_comment_utf16(context, "zxx", (byte[])null, data));

To correct this, do something like:

return CheckResult(NativeMethods.id3tag_set_comment_utf16(context, "zxx", UCS2.GetBytes(string.Empty), data));

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