thirdy / durian

Path of Exile Items watcher
http://thirdy.github.io/durian/
GNU General Public License v2.0
35 stars 10 forks source link

Impossible to find Mjölners #54

Open zocke1r opened 8 years ago

zocke1r commented 8 years ago

If looking for mjolner and even though the terms should allow for mjölner it causes an error, the search goes through but does not return anything, even though according to poe.trade multiple where available.

thirdy commented 8 years ago

Notes:

poe.trade accepts the one with the special character:

Mj[öo]lner                              =     name=Mjölner

but we're not handling it well, see this log:

Now running search: s tmpsc bo online mjolner
Query: tmpsc bo online mjolner
Unencoded payload: league=Talisman&buyout=x&online=x&name=Mjölner&capquality=x
post() payload: league=Talisman&buyout=x&online=x&name=Mj%C3%83%C2%B6lner&capquality=x

should be fixable by making sure we're working with UTF-8 encoding