Skip to content

Reading Chinese encoded tags seems to sometimes have problems. #197

@joe-vettek

Description

@joe-vettek

my code is like this:

                mp3file.save(basePath + tt);
                id3v22Tag.setEncoder("2");
                mp3file.setId3v2Tag(id3v22Tag);
                id3v22Tag = mp3file.getId3v2Tag();
                if (id3v22Tag.getAlbum() != null && !id3v22Tag.getAlbum().isEmpty()) 
                    this.album = id3v22Tag.getAlbum();

I've tried tweaking the encoder to salvage the bad encoding, but it doesn't seem to work.
The library outputs UTF-8 encoding by default, while Chinese encoding is sometimes GBK.
But the result always shows like this:
OutPut: ×÷´Ê£ºFinale ×÷Çú/±àÇú/Ñݳª£ººÓͼ
Actually: 2008作词:Finale 作曲/编曲/演唱:
The setEncoder function doesn't seem to do anything.

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