Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

UTF-8 issues on Windows 10 #11

Closed
xconverge opened this issue Apr 14, 2017 · 1 comment · Fixed by #13
Closed

UTF-8 issues on Windows 10 #11

xconverge opened this issue Apr 14, 2017 · 1 comment · Fixed by #13

Comments

@xconverge
Copy link

This is related to #2, I think his fix will most likely work, I also followed this issue on the other popular copy paste library.

Run the following test:

test.only('works with unicode', async t => {
const f = '你好';
t.is(await writeRead(f), f);
});

Now open any other program, notepad etc, and do Edit-Copy or Ctrl+V and you will get 你好.

This is going to be difficult to write a test for since from the libraries standpoint, everything is good. Outside of the library however, it is not actually working with the correct clipboard contents due to encoding.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant