[vorbis-dev] oggenc doesn't work?!?
peter.harris at hummingbird.com
Thu Jul 26 11:27:19 PDT 2001
> Dimitry - thanks for compiling this. Win32 people who use oggenc - please
> try it out.
It looks like Windows 2000 is translating everything into the ANSI code page
before placing it into argv. (printf() is using the console's code page,
though, which means that argv needs to be translated if you want to get
the same thing from a printf as you typed at the command line... *boggle*)
Replacing GetConsoleCP() with the constant CP_ACP should work for those of
us who fit into the ANSI code page. This is probably the best short-term
solution. (Using CP_ACP here, the winamp plugin is suddenly displaying the
same characters as the ones I typed in. Hooray!).
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.
--- >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