-
### What were you trying to do?
I was trying to add a comment to PDF with cyrillic letters.
### How did you attempt to do it?
```typescript
const commentAnnotRef = this.pdfDocument.context.registe…
-
```javascript
`
...
hello world
hello world
hello worldhello world
hello world
hello world
hello world
`;
const decoder = new TextDecoder();
const encoder = new TextEncoder();
for (let…
-
(async () => {
let n = document.createElement('iframe');
document.body.append(n);
window.alert = n.contentWindow.alert.bind(window);
window.prompt = n.contentWindow.prompt.bind(window)…
-
After #486 got merged I now need a polyfill for TextEncoder for react-native. Just wanted to point out that TextEncoder is not (yet) in the ECMAScript spec:
https://github.com/facebook/hermes/issues/…
-
We noticed encoding issues using this library in production, and after some investigation it turns out there's a correctness issue in the library. I took the [official WPT testcases](https://github.co…
-
https://github.com/nothingrandom/u8array/blob/178cb30e1fde5474d05b61079b42172d61a6f75a/index.js#L1-L18
Can all be replaced by this:
```js
var e = new TextEncoder()
module.exports = x => e.encode…
-
## What is the Problem Being Solved?
Two problems.
1) Developers sometimes encounter `SES_ALREADY_LOCKED_DOWN` and have a hard time finding where it was locked down. Sometimes two modules both a…
-
I'm trying to have deno output some information to file descriptor 3, so I am spawning `deno` like so:
```bash
$ deno run example.ts 3>three.txt
```
I have it working as expected by using `/de…
-
![image](https://user-images.githubusercontent.com/8542397/77827630-292c8400-715a-11ea-9b06-ed1dc7bfe9fc.png)
-
Too bad huBarcode doesn't work with Python3.
I'd submit a patch, but I'm pretty new to libraries and git too so... here is what I did to make huBarcode work for python3 (or... at least the parts I ne…