Baseline Widely available
TextEncoderStream()
æé 彿°å建ä¸ä¸ªæ°ç TextEncoderStream
对象ï¼è¯¥å¯¹è±¡ä½¿ç¨ UTF-8 ç¼ç å°å符串æµè½¬æ¢ä¸ºåèã
js
new TextEncoderStream()
åæ°
æ ã
示ä¾å¨æ¤ç¤ºä¾ä¸ï¼å建äºä¸ä¸ª TextEncoderStream
å¹¶ä¸ä½¿ç¨å®å»ä¸ä¼ ä¸ä¸ªææ¬æµã
js
const body = textStream.pipeThrough(new TextEncoderStream());
fetch("/dest", {
method: "POST",
body,
headers: { "Content-Type": "text/plain; charset=UTF-8" },
});
è§è æµè§å¨å
¼å®¹æ§
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4