[utils] update_url_query: Encode the strings in the query dict
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 4 Mar 2016 21:18:40 +0000 (22:18 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 4 Mar 2016 21:18:40 +0000 (22:18 +0100)
commit3233a68fbb1cb608534db43f358f7203e59cd2de
tree78f2706cd862c7f82cc6dd7d74a46c1e39bdc05f
parentcf074e5ddd3840071df78ec509bcd74520a8f425
[utils] update_url_query: Encode the strings in the query dict

The test case with {'test': '第二行тест'} was failing on python 2 (the non-ascii characters were replaced with '?').
youtube_dl/utils.py