-
Thanks for the good idea of this repo.
I met a problem that chinese characters in response would be garbled, and I found that error happened when transferred string to arraybuffer below.
`
const …
-
I'm using `mini_sql` to query a `bytea` column in postgres, but I'm having trouble getting the query to run. Here's the error:
```
PG::CharacterNotInRepertoire:
ERROR: invalid byte sequence fo…
-
### What version of Bun is running?
1.0.7
### What platform is your computer?
Linux 6.1.0-10-amd64 x86_64 unknown
### What steps can reproduce the bug?
use jose in vite as an ssr module
### What…
-
Hi! I am very interested in your work, especially the text-motion alignment pre-trained model. Hope to see your model and codes soon.
-
any suggestions what might be causing this?
````
@oneidentity_zstd-js_wasm.js?v=3ee57d37:1228 Uncaught (in promise) Error: ZSTD_ERROR: Src size is incorrect, error code: -72
at A2.checkError (…
-
**Describe the bug**
When receiving SSE they sometimes are not completely received in one chunk but split into two (or maybe more?).
**To Reproduce**
Send SSE from Edge-Function or other backen…
-
## links
* https://stackoverflow.com/questions/6965107/converting-between-strings-and-arraybuffers
* https://www.npmjs.com/package/@fictivekin/growable-uint8-array
* https://github.com/nim-lang/Nim…
-
function stringToUtf8(string) {
let encoder = new TextEncoder();
return encoder.encode(string);
}
用这个替换 toUtf8Bytes 方法我试了下也没有问题,是出于什么原因必须要自己实现这个方法呢?
-
```js
export function stringToUint8Array(str) {
return new TextEncoder().encode(str);
}
export function uint8Array2String(buffer) {
return new TextDecoder().decode(buffer);
}
```
-
With this change the Encoding Standard will have two concepts of "stream": https://encoding.spec.whatwg.org/#concept-stream and a TransformStream.
I see three ways out of this:
- Rename the Encoding …