[vorbis-dev] oggenc and UTF-8 support on windows

Peter Harris peter.harris at hummingbird.com
Fri Aug 10 16:57:41 PDT 2001



> Long-term, I'd like to modify oggenc.c to work on a 16-bit argv[]. (Yes,
you
> can get a 16-bit UNICODE argv from Windows). This doesn't look too
> difficult, except I'd wind up having to do getopt.c, too.

Win32 Binary:
http://members.tripod.com/ix42/unicode_oggenc.zip
Source patch:
http://members.tripod.com/ix42/unicode_patch.zip

Does somebody on a foreign-language NT/2000/XP box want to try this out for
me? I did a quick check, and it seemed to work with the few characters
outside of the ANSI code page that I threw at it. This is a CVS-mainline
oggenc, patched to support UTF-8 title/artist/etc info. It doesn't (yet)
support unicode filenames.

The patch is rather brute-force. I'm more than happy to receive constructive
criticism, or at least some ideas as to how to handle this more elegantly
(convert everything to UTF8 right away, perhaps?).

Maintainers: Feel free to look at the patch, but don't apply this to CVS. In
addition to breaking building on *ix, it also breaks Win9x at runtime. With
one exception: The patch to utf8.c is valid, and should be applied.

Peter Harris

--- >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