No, no. There might be a default encoder problem for the Linux VM, I don't know, it is not my main platform. If so, it might be better to default to UTF-8. Just check this page: http://zn.stfx.eu/unicode copy any part of the page and inspect Clipboard clipboardText asString I can see the correct unicode character value (not necessarily the right character, but that is a font problem). Copying any Unicode character works, AFAIK. The original problem with the script on https://www.facebook.com/ObjectProfile/posts/742756179144315 is not the a Unicode problem as such. The strange characters seem to be part of https://en.wikipedia.org/wiki/Unicode_control_characters more specifically they are a couple of https://en.wikipedia.org/wiki/Bi-directional_text control characters (like https://en.wikipedia.org/wiki/Left-to-right_mark). I am not sure what they do there. It seems that other programs receiving this clipboard contents somehow filter them out. Maybe all 'control' characters have to be removed. Anybody knows about/understands this stuff ?
On 06 Dec 2014, at 18:44, kilon alios <kilon.alios@gmail.com> wrote:
If its a known issue with a known solution why is not default like this ?
On Sat, Dec 6, 2014 at 6:48 PM, Peter Uhnák <i.uhnak@gmail.com> wrote:
I have experienced similar problems on UBUNTU but in that OS the problem exist when copying from Chrome it does not exist when copying from Firefox.
Because the default encoding of Pharo VM for Unix is not unicode. If you set it manually (--textenc UTF-8) it should work even with Chrome.
Peter