[opus] Fwd: Re: opusfile 0.4 release

Timothy B. Terriberry tterribe at xiph.org
Mon Aug 26 10:00:59 PDT 2013

Ralph Giles wrote:
> Am I doing it wrong or is it a limitation in libopusurl?

libopusurl takes URIs, not IRIs. I looked into supporting IRIs, but 
somewhere in the middle of hand-maintained punycode domain whitelists I 
gave up.

In short: You need to URI-encode your string before passing it in. 
Proper handling of domain names requires something like libidn, which is 
built into libc on some systems, but by no means everywhere.

More information about the opus mailing list