Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
2019 posts
|
I think I found a solution. But first the problem, which preferably would be fixed in the Pharo VM but I have no idea how to contribute there or if this is actually correct/wrong:After a lot of debugging and trying to figure out why paste from
Google Chrome(ium) isn't working in Linux I found out that the default
encoding isn't unicode. and only set to 1 if it is explicitly provided (--textenc UTF-8)According to this the default should be UTF-8 platforms/unix/vm/sqUnixMain.c:1493 printf(" --textenc <enc> set encoding for external text (default: UTF-8)\n"); however by default it is set to 0 platforms/unix/vm/sqUnixMain.c:127 int textEncodingUTF8= 0; /* 1 if copy from external selection uses UTF8 */ platforms/unix/vm/sqUnixMain.c:1452 else if (!strcmp(argv[0], "--textenc")) { char *buf= (char *)malloc(strlen(argv[1]) + 1); int len, i; strcpy(buf, argv[1]); len= strlen(buf); for (i= 0; i < len; ++i) buf[i]= toupper(buf[i]); if ((!strcmp(buf, "UTF8")) || (!strcmp(buf, "UTF-8"))) textEncodingUTF8= 1; else setEncoding(&uxTextEncoding, buf); free(buf); return 2; } -- On Thu, Jul 31, 2014 at 12:38 PM, Julien Delplanque <[hidden email]> wrote: Ok, so I'll have to get used to it or switch to another web browser ... [show rest of quote] |
Free forum by Nabble | Edit this page |