-
node 8.3 now ships with experimental TextEncoder/TextDecoder - https://nodejs.org/dist/latest-v8.x/docs/api/util.html#util_class_util_textdecoder
If perf is considerably better than node-iconv we c…
-
How can I get access to TextEncoder (or another fast way to convert strings or json into a byte array) when using V8? The reason I ask is that I'm having to send sometimes large amounts of data very…
-
TextEncoder and TextDecoder are added as globals in node11.
Maybe it is possible to use these for jsdom?
https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder
https://developer.mozilla.org…
-
These classes are mentioned in the cellscript API docs, but the actual classes and methods they have are not documented anywhere.
-
```js
function ByteData (data) {
this.mode = Mode.BYTE
if (typeof (data) === 'string') {
this.data = new TextEncoder().encode(data)
} else {
this.data = new Uint8Array(data)
}
…
-
see #132
TextEncoder is not supported on some browsers, thus it would be good to remove this and use something else.
cc @sebastianbenz @kristoferbaxter
-
wondering if you could switch to using say Uint8Array instead... \w helpers such as TextEncoder/Decoder/DataView instead
-
## Problem
TextEncoder was recently added with 3863a36a53005dd1e6d39ea0d4ef5573bafde910 (related issue #948), but there doesn't seem to be a TextDecoder added. It seems odd that the encoder was add…
-
Working with UTF-8 in JavaScript requires a lot of code and is very error prone. The [TextEncoder](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder) and [TextDecoder](https://developer.moz…
-
I'm implementing some API from Web standard, and I often use this:
```rust
#[rquickjs::module]
pub mod text {
use rquickjs::{module::Exports, Ctx};
pub use super::{TextDecoder, TextEnco…