in reply to Re^4: ID3 tag version 2.4.0 Pack and Unpack (text encoding byte)
in thread ID3 tag version 2.4.0 Pack and Unpack

I understand what you mean by the null terminating character on the strings.

That is unfortunate as I have not been saying anything about null terminating characters. I have been talking about a single byte that is not part of the strings and is not terminating but goes right before each string. And it doesn't have to be a "null". It can be "\0", "\01", "\02", or "\03".

Please go re-read my first post once you have thoroughly dismissed from your mind the idea that I'm talking about the "\0" bytes that terminate string values. Pay special attention to the part where I quote part of the spec you linked to. Then go find that part of the spec and read more there.

- tye        

  • Comment on Re^5: ID3 tag version 2.4.0 Pack and Unpack (not terminating)

Replies are listed 'Best First'.
Re^6: ID3 tag version 2.4.0 Pack and Unpack (not terminating)
by thanos1983 (Parson) on Sep 05, 2014 at 02:07 UTC

    Hello tye,

    Ok I think I finally understood what you mean. In this case what else can I do, since I applied poch($flags) right after the ( $flags ) = unpack ( "h" , $lines );.

    Unfortunately there was no change on my problem. I an still getting one less character at the beginning of the string.

    Seeking for Perl wisdom...on the process of learning...not there...yet!