node-copy-paste
node-copy-paste copied to clipboard
[Windows]: copy/paste of unicode chars not working
Copy and paste of some unicode chars is not working.
I think i fixed the paste part. See #42. Checkout #42 with the tests here,
The weird thing is that a lot of unicode chars seem to work except ±
.
Paste works. Having some trouble with copy though.
How do we feel about piping UTF-8 to clip.exe? This seems to be more reliable than sending UTF-16LE. Adding the BOM is useful in either case but clip.exe copies it to the clipboard along with the text content - not a good solution.
PowerShell instead of VB Script?
Set-Clipboard("some string.")
$clipData = Get-Clipboard()
Write-Host($clipData) // some string.
@mmktomato the get-clipboard and set-clipboard cmdlets are only available on machines with WMF 5.0, which is certainly not most of them.
I'm seeing this issue trying to copy ∵
. Instead, 5"
is copied.
Windows 8.1, copy-paste 1.3.0
I've posted my solution to this in #45.