janlelis/clipboard — pull request #16 by momo-lab (2013-04-30 06:03:29+00:00)
Title: Support multibyte char for Windows.

I wrote a patch because it fails this test case.

it "can copy & paste with multibyte char" do
Encoding.default_external = "utf-8"
Clipboard.copy("日本語")
Clipboard.paste.should == "日本語"
end

Failure/Error: Clipboard.copy("日本語")
Encoding::InvalidByteSequenceError:
incomplete "\x00" on UTF-16LE