IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> [F] ID3v2.4 UTF-8 is not on specification
andryk
post Nov 4 2016, 12:08
Post #1


Member


Group: Members
Posts: 2
Joined: 4-November 16
From: Tokyo, Japan
Member No.: 22684
Mp3tag Version: 2.80a



id3.org says ID3v2.4 spec in this page
QUOTE
Frames that allow different types of text encoding contains a text
encoding description byte. Possible encodings:

$00 ISO-8859-1 [ISO-8859-1]. Terminated with $00.
$01 UTF-16 [UTF-16] encoded Unicode [UNICODE] with BOM. All
strings in the same frame SHALL have the same byteorder.
Terminated with $00 00.
$02 UTF-16BE [UTF-16] encoded Unicode [UNICODE] without BOM.
Terminated with $00 00.
$03 UTF-8 [UTF-8] encoded Unicode [UNICODE]. Terminated with $00.


Attached Image

this image shows binary code of a file edited by mp3tag v2.79.
Address 0x2F is end of TALB UTF-8 data however the data not terminated with $00,
continuing next TPE1 UTF-8 data without terminating.

sorry for bad English.
Go to the top of the page
 
+Quote Post
Florian
post Dec 5 2016, 11:12
Post #2


Developer


Group: Admin
Posts: 7946
Joined: 12-December 01
From: Germany, Dresden
Member No.: 203
Mp3tag Version: 2.83e



The reported issue is now fixed with the current Development Build (Mp3tag v2.80a). It actually applied not only to UTF-8, but also to ISO-8859-1 and UTF-16.

As with all those low-level changes, it would be great if you (and possibly others) can analyze the new implementation and confirm the fix.

Thanks for reporting!

Kind regards
– Florian


--------------------
♫ If you like using Mp3tag please donate to support further development.

Go to the top of the page
 
+Quote Post
andryk
post Dec 6 2016, 08:22
Post #3


Member


Group: Members
Posts: 2
Joined: 4-November 16
From: Tokyo, Japan
Member No.: 22684
Mp3tag Version: 2.80a



I confirmed $00 exists properly in frames with UTF-8, UTF-16, ISO-8859-1. Now it's on spec.
Thank you very much!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th July 2017 - 23:35