On Tuesday, 28 August 2018 at 13:38:39 UTC, spikespaz wrote:
The problem arises when he types
"google.com.hk/search?q={{query}}" (exact string)
AFAIK, google has a parameter to output results in utf8.
We have a reasonably number (but quiet) Chinese user base, we should
really support big5 and its extensions out-right.
On 8/28/18 9:38 AM, spikespaz wrote:
I have a user who submitted a bug report for one of my projects. The
error is in std\encoding.d on line 2554.
The problem arises when he types "google.com.hk/search?q={{query}}"
(exact string) into this function:
https://github.com/spikespaz/search-deflecto
https://github.com/dlang/phobos/blob/master/std/net/curl.d#L1197
get!ubyte will disable encoding.
On Tuesday, 28 August 2018 at 13:38:39 UTC, spikespaz wrote:
I have a user who submitted a bug report for one of my
projects. The error is in std\encoding.d on line 2554.
The problem arises when he types
"google.com.hk/search?q={{query}}" (exact string) into this
function:
https://github.com
import std.stdio : stdout, writeln;
writeln(__MODULE__, ":", __LINE__); stdout.flush;
Trace it that way. The flush is important.
I have a user who submitted a bug report for one of my projects.
The error is in std\encoding.d on line 2554.
The problem arises when he types
"google.com.hk/search?q={{query}}" (exact string) into this
function:
https://github.com/spikespaz/search-deflector/blob/master/source/setup.d#L253-L2