Skip to content

Support encoding GEOB frames with latin1 #187

@laker-93

Description

@laker-93

The comment here suggests GEOB frames are encoded as latin1: https://github.com/Zazama/node-id3/blob/0.2/index.d.ts#L545
which I believe is the standard.

However, the code actually hard codes the encoding to UTF-16 here: https://github.com/Zazama/node-id3/blob/0.2/src/ID3Frames.js#L565
This means any GEOB frames written with this library are often invalid and can't be read by other programs.

Can the encoding be switched to use latin1 instead? Or alternatively support a way to pass in the encoding?

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