Why -encoding latin1 in pharo.sh?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Why -encoding latin1 in pharo.sh?

Göran Krampe
Hi all!

A friend of mine wondered why he couldn't copy/paste a text in UTF8
(with swedish åäö characters in it) and paste into Pharo without getting
a debugger :)

It turns out that the One-Click pharo.sh uses "-encoding latin1" when it
starts the VM. But the code in Clipboard>>clipboardText evidently
presumes that clipboard is coming in as UTF8 always - might be the new
clipboard plugin that Michael did that does that?

Anyway, why is pharo.sh using "-encoding latin1"? It works fine when
that option is removed.

regards, Göran


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Why -encoding latin1 in pharo.sh?

Stéphane Ducasse
thanks for reporting ;)

Stef

On Sep 8, 2010, at 10:16 AM, Göran Krampe wrote:

> Hi all!
>
> A friend of mine wondered why he couldn't copy/paste a text in UTF8 (with swedish åäö characters in it) and paste into Pharo without getting a debugger :)
>
> It turns out that the One-Click pharo.sh uses "-encoding latin1" when it starts the VM. But the code in Clipboard>>clipboardText evidently presumes that clipboard is coming in as UTF8 always - might be the new clipboard plugin that Michael did that does that?
>
> Anyway, why is pharo.sh using "-encoding latin1"? It works fine when that option is removed.
>
> regards, Göran
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project