MP3 programming

Moderators: Sephiroth
Number of threads: 182
Number of posts: 401

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
ID3v2 Frame TIT2 Posted by carrotcake1029 on 20 Feb 2009 at 9:35 PM
I decided to recently start parsing some of my mp3 files to see what type of tags they had. Then I ran across one with a strange formatting in the TIT2 frame, which is a title. It had the name of my song, but each letter was separated by a 0x00 byte. None of my media players have trouble reading this. Any suggestions to what the problem could be?
Report
Re: ID3v2 Frame TIT2 Posted by Sephiroth on 26 Feb 2009 at 11:32 AM
Sounds like it was stored in UNICODE. a "wchar_t" is two bytes wide instead of one. The world runs on UNICODE now, so you may wind up with more files like this one in the future, unless you use an old Windows 9X application to edit them. I'll post a link below to some information that helped me get started with UNICODE in my C++ programs a while back. Maybe it can explain this to you.

http://www.cprogramming.com/tutorial/unicode.html

-Sephiroth



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.