[vorbis] Oggdrop XPd don't support Unicode ?

Peter Harris peter.harris at hummingbird.com
Fri Jan 24 14:06:25 PST 2003



Nathan I. Sharfi wrote:
> Regarding
> +/* presume that people aren't going to put utf8 filenames on the command
> line. */
> +/* Is this a valid presumption? */
> +#define oggenc_fopen(x,y,z) fopen(x,y)
> +#define get_args_from_ucs16(x,y,z) { }
> +
> +#endif
> 
> I'm not exactly sure that I understand you correctly, but I think it's a
> mistake to assume that all filenames will be 7-bit-ASCII-compatible.

You are correct; that would be a mistake.

I am presuming that people will use UCS-16 for filenames. Copy-and-Paste 
or Drag-and-Drop from explorer will use UCS-16. Typing on they keyboard 
will produce UCS-16. I don't know how you would go about generating the 
UTF-8 equivilants (copy-and-paste into notepad, save as UTF-8, open as 
ASCII, and copy-and-paste that?).

In other words, the --utf8 switch only applies to comments, which may be 
coming from an outside source (CDDB/FreeDB, maybe?) pre-encoded.

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