in reply to Re: LWP::ConsoleLogger::Easy messes the console on (seemingly) unicode LWP response: is it a case of broken unicode?
in thread LWP::ConsoleLogger::Easy messes the console on (seemingly) unicode LWP response: is it a case of broken unicode?
I was throwing at it all I could find
JSON::XS did not have any problem decode_json'ing that JSON. And if I don't import and use the Logger print $response->decoded_content; works just fine (without binmode'ing STDOUT). Additionally, sometimes it fails (=messing the console) while printing Content and sometimes when it prints Text (which I believe is printing decoded JSON)
I will follow what Corion said and report it. Though I hate dumping encoding bugs on unsuspected passerbys.
thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: LWP::ConsoleLogger::Easy messes the console on (seemingly) unicode LWP response: is it a case of broken unicode?
by cavac (Prior) on Aug 25, 2023 at 06:45 UTC | |
|
Re^3: LWP::ConsoleLogger::Easy messes the console on (seemingly) unicode LWP response: is it a case of broken unicode?
by NERDVANA (Priest) on Aug 25, 2023 at 21:12 UTC |