[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mp3-tags, zip-archives, tool to convert filenames to UTF



On Fri, Feb 14, 2003 at 11:35:54PM +0200, Vasilis Vasaitis wrote:
> > success. Is there a way to convert all ID3-Tags to Unicode? How does 
> > ogg-Vorbis handle this issue?
> 
>   Ogg Vorbis comment values are encoded in UTF-8 by default, see:
> 
> 	http://www.xiph.org/ogg/vorbis/doc/v-comment.html

Last I knew, both Vorbis and ID3V2 tags were only allowed to be UTF-8 at
all.  (Of course, you can put whatever invalid data you like in your own
files, but you can't very well complain when it breaks.)

However, it's been a long time since I've read either spec, so I could
be wrong.

> > 3) Do .zip Files store the encoding of the filenames somewhere and will 
> > unzip convert the encodings to utf8? How about uft8 and the other 
> > packers/archivers (tar,ace,rar)? Are there any known problems?
> 
>   I would expect these to behave pretty much like filesystems
> themselves do.

That doesn't say much--different filesystems in different architectures
behave very differently, and nothing about these formats is arch-specific.
Unix filesystems are blind bytestreams (which is clearly unacceptable
for an archive format designed to be distributed); NTFS is stored in
UTF-16, and so on.

-- 
Glenn Maynard
--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/