Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: toasty on August 30, 2011, 04:29:00 AM



Title: Mac client "Copy to Clipboard" inserts a NUL into the clipboard
Post by: toasty on August 30, 2011, 04:29:00 AM
Sorry if this is a known problem, but browsing the commits and the forum I couldn't see anything.

Does anyone else see the Mac client inserting a NUL at the end of the address when you copy an address from the Address Book to the clipboard? It causes weird things like if you try to directly paste that into a post on the forum here, the forum software deletes your message data. Pasting it into a terminal window (which ignores the NUL) and select-copy-pasting THAT works fine.

Have I broken something, or is this not working right on OS X?

I've looked at the source, and I don't see an obvious reason this is happening, but I'm wondering if it's happening everywhere but other platforms are not trying so hard to paste the contents verbatim?


Title: Re: Mac client "Copy to Clipboard" inserts a NUL into the clipboard
Post by: theymos on August 30, 2011, 05:53:23 AM
I've heard of this once before. I think that user was using a different locale: are you?


Title: Re: Mac client "Copy to Clipboard" inserts a NUL into the clipboard
Post by: toasty on August 30, 2011, 05:54:03 AM
Nope, just standard US English.