mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
60249e0bc2
Fix `page.setContent` with unicode strings that exceeds the range of a 8-bit byte. This patch implements decoding part of the [MDN's solution #4 for the "unicode problem"](https://developer.mozilla.org/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding#Solution_4_%E2%80%93_escaping_the_string_before_encoding_it). Since we rely on node.js buffer to encode into base64, we don't have troubles with base64 encoding, so it is left as-is. Fixes #4424 |
||
---|---|---|
.. | ||
puppeteer-firefox |