Skip to content

Commit

Permalink
Update delimiter to fallback to ISO-8859-1.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhowden committed May 9, 2016
1 parent bfba4b3 commit 9daeb83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions id3v2frames.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 9daeb83

Please sign in to comment.