diff options
author | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2011-07-11 11:39:42 +0200 |
---|---|---|
committer | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2011-07-11 11:46:54 +0200 |
commit | 504b6242d1fd67d04ee236fc92a54ca39fd682f7 (patch) | |
tree | ccfc3cf538c5b0b77c938f094e00a5e3598f1dd1 /vim | |
parent | 22472d9def2f6525a9aac62e6481d8d4fa7db5d0 (diff) |
python: Encode query string as a utf-8 byte array
If we pass in an unicode instance as query string, we would probably get
weird behavior (and indeed do so, see mail
id:"20110707113700.GA16347@megatron"). If a unicode instance is passed
in, make sure we encode it properly to an utf-8 encoded byte string.
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'vim')
0 files changed, 0 insertions, 0 deletions