From 9daeb8310559df93ee573039dcc10c145d9fa508 Mon Sep 17 00:00:00 2001 From: David Howden Date: Mon, 9 May 2016 22:40:03 +1000 Subject: [PATCH] Update delimiter to fallback to ISO-8859-1. --- id3v2frames.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/id3v2frames.go b/id3v2frames.go index 1a5b20f..16083a7 100644 --- a/id3v2frames.go +++ b/id3v2frames.go @@ -348,8 +348,8 @@ func encodingDelim(enc byte) ([]byte, error) { return []byte{0}, nil case 1, 2: // see decodeText above return []byte{0, 0}, nil - default: - return nil, fmt.Errorf("invalid encoding byte %x", enc) + default: // see decodeText above + return []byte{0}, nil } }