[vorbis-dev] UTF-8 in comments

Michael Smith msmith at labyrinth.net.au
Sat Mar 17 16:57:19 PST 2001



>
>Don't bother about that now. Just create that wrapper func/lib/whatever now 
>so that it's there, and implent UTF-8 conversion for those systems that 
>support it. Others can just write the tags unconverted like now, for now. 
>Then, as you find ways to get this working on those other systems, you can 
>update the wrapper for those systems. This shouldn't be a problem really 
>since there's already oggs with "normal" text in the tags, so that would have 
>to be supported anyway..

Well, plain-ascii text is already UTF-8, since it's a strict subset
of UTF-8. So for 'normal' text, there's no problem. However, other
things won't be supported, ever, and shouldn't be. 

Functionality needs to exist on all platforms, not just some. At the 
VERY LEAST, all the widely-used unixes and win32 would be required
before I'd add the code.

>
>Btw, is there a way of autodetecting if a tag is utf-8 or not ? If not, is 
>there some reserved bit somewhere that can be used ?

Well, you can determine whether it's a valid utf-8 sequence, but it might
have been something that just happened to work out right.

Michael

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list