Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Enable utf8 flag in duckpan query #265

Merged
merged 1 commit into from Jul 17, 2015
Merged

Conversation

moollaza
Copy link
Member

In testing duckduckgo/zeroclickinfo-goodies#1264 I noticed some odd behaviour in DuckPAN when dealing with UTF8 chars in the regexs. When the regexes contain unicode chars (like 4 ÷ 2) and use utf8 was not present, the IA did not work in DuckPAN Query but did in DuckPAN Server.

After seeing that DuckPAN Serve turns on the utf8 flag before passing the raw query to DDG::Request I tried that in DuckPAN Query and everything works as expected!

/cc @zachthompson

zachthompson added a commit that referenced this pull request Jul 17, 2015
@zachthompson zachthompson merged commit 7576bc0 into master Jul 17, 2015
@zachthompson zachthompson deleted the zaahir/duckpan-query-utf8 branch July 17, 2015 18:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants