Re: std.encoding:2554 - Unrecognized Encoding: big5 - Please help!

2018-08-28 Thread Kagamin via Digitalmars-d
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.

Re: std.encoding:2554 - Unrecognized Encoding: big5 - Please help!

2018-08-28 Thread rikki cattermole via Digitalmars-d
We have a reasonably number (but quiet) Chinese user base, we should really support big5 and its extensions out-right.

Re: std.encoding:2554 - Unrecognized Encoding: big5 - Please help!

2018-08-28 Thread Steven Schveighoffer via Digitalmars-d
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

Re: std.encoding:2554 - Unrecognized Encoding: big5 - Please help!

2018-08-28 Thread rikki cattermole via Digitalmars-d
https://github.com/dlang/phobos/blob/master/std/net/curl.d#L1197 get!ubyte will disable encoding.

Re: std.encoding:2554 - Unrecognized Encoding: big5 - Please help!

2018-08-28 Thread spikespaz via Digitalmars-d
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

Re: std.encoding:2554 - Unrecognized Encoding: big5 - Please help!

2018-08-28 Thread rikki cattermole via Digitalmars-d
import std.stdio : stdout, writeln; writeln(__MODULE__, ":", __LINE__); stdout.flush; Trace it that way. The flush is important.

std.encoding:2554 - Unrecognized Encoding: big5 - Please help!

2018-08-28 Thread spikespaz via Digitalmars-d
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