> On 06 Dec 2014, at 10:38, Max Leske <[email protected]> wrote: > > >> On 05 Dec 2014, at 22:17, kilon alios <[email protected]> wrote: >> >> I try to copy this code here >> >> https://www.facebook.com/ObjectProfile/posts/742756179144315 >> >> and paste it to Playground to do it. It inserts illegal characters. >> >> I am on MacOS Yosemite and tried Chrome and Safari. >> >> Workspace also has same issue. Is there a solution to this ? Copy pasting >> code from an internet browser is kinda a huge deal. > > Confirmed. It seems to be a problem with the # character. Although the > problem in my opinion is the encoding on the webpage. Workspace and > Playground behave just as they should (which is to correctly display all > characters).
I had a look too. There is indeed an issue. You can inspect Clipboard clipboardText and you'll see that there are strange characters (probably related to the blue) around the symbol constants. Of course, these originate on the page. But if you copy and paste somewhere else, let's say a terminal (you can try the pbpaste command in Mac OS X), these are somehow filtered out, while Pharo does not seem to do that. I vaguely remember that when you copy something, multiple representations are actually copied, and during paste you select which one you want. Maybe something is wrong there. But apart from that, I would like to know how the filtering works. Sven
