puppeteer-interceptor icon indicating copy to clipboard operation
puppeteer-interceptor copied to clipboard

Please don't use atob on text data

Open reedom opened this issue 4 years ago • 0 comments

I saw it had collapsed non-ascii characters originally encoded in utf-8.

For example, for ブーツ it produced ブーツ.

It'd be favorable to respect Content-Type in the response header. Also, it'd be nice to pass the original base64 encoded data to event handlers that will bring a chance to solve this kind of problem by them.

reedom avatar Aug 09 '20 03:08 reedom