laarmen/python-musicbrainz-ngs — comment on commit 001e6c97ccdad026a3a40cf883b93e70b32c6d1e
File:  line 0
By sampsyo:

I agree with Alastair that using an explicit check is probably the right thing here, and looking specifically for "query" here does seem a little bit odd, but I think the right thing to do is actually to encode *everything* in `args` at this point. This way, Unicode data in every parameter (including things we haven't thought of yet) can be used. Since the MusicBrainz API used UTF-8, this should be appropriate for all parameters. I'll implement a fix that demonstrates this -- and you two can tell me if it seems reasonable. :)