I have not a squeak handy, but I think there is already a method in String for converting, not speaking of stream, so this should be easy to solve. 2009/5/18 Adrian Lienhard <adi@netstyle.ch>:
Yes, that is what I did. (In the broken version the line break character has value 10 (=LF) whereas in the earlier version that worked it had value 13 (=CR).)
Adrian
On May 18, 2009, at 17:30 , Nicolas Cellier wrote:
You could inspect paste string: i bet these are LF when Squeak insists on having CR
2009/5/18 Damien Cassou <damien.cassou@gmail.com>:
On Mon, May 18, 2009 at 3:04 PM, Adrian Lienhard <adi@netstyle.ch> wrote:
When I copy text with line breaks from outside Pharo into a Pharo workspace all line breaks are lost and replaced by a rectangle. In version 10259 it was still working, and in version 10262 it is broken (I don't have images in between, but if it helps I can find out in exactly which version the problem was introduced).
When I inspect the pasted string, in the working version the line break is character value 13, in the current, broken version it is 10.
Is this related to the Unicode changes?
I have the same problem under Linux
-- Damien Cassou http://damiencassou.seasidehosting.st
"Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project