-
### Verify canary release
- [X] I verified that the issue exists in the latest Next.js canary release
### Provide environment information
```bash
❯ npx next info
Operating System:
…
-
TextEncoder is globally avalible in all env...
```js
new TextEncoder().encode('🐵 🙈 🙉 🙊').buffer
// => ArrayBuffer { byteLength: 19 }
```
-
```
class TextEncoder(nn.Module):
def __init__(self, clip_model,device):
super().__init__()
self.transformer = clip_model.transformer
self.positional_embedding = clip_…
766O updated
6 months ago
-
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…
-
Given we're serializing a lot of cells, we can easily serialize the cells one by one and then construct the bytes from that, instead of building a string.
I.e. notebook = {cells: [.....], metadata:…
-
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…
-
Currently in Remix [`web-std-io`](https://github.com/remix-run/web-std-io), they import [`web-encodings`](https://github.com/Gozala/web-encoding). This provides TextEncoder and TextDecoder functions. …
-
### Describe the bug
The test works in 0.34.2, but doesn't work in 0.34.3
### Reproduction
```js
test('toEqual', () => {
expect([1]).toEqual([1]); // OK
expect(new TextEncoder().encode…
-
These classes are mentioned in the cellscript API docs, but the actual classes and methods they have are not documented anywhere.
-
see #132
TextEncoder is not supported on some browsers, thus it would be good to remove this and use something else.
cc @sebastianbenz @kristoferbaxter