Interesting....I found anothers two. Damn! No only those typographical quotes but also this 'â' thing that Word puts I think when you type one '-' after another '-'. For example '--' it converts it to 'â' and that is 8211 ascii. Then when you type '...' sometimes it converts it to 'â¦' (they are not just 3 dots., they are smaller and nearer each other). This ascii is 8230 See here: http://www.ascii.cl/htmlcodes.htm When you put them in a Pier page, they are properly rendered. But, when you ask the ascii to those characters in pharo, they are >255 and they are out of range compared to "matchTable" Best, Mariano On Tue, Jul 14, 2009 at 9:48 AM, Mariano Martinez Peck < marianopeck@gmail.com> wrote:
On Tue, Jul 14, 2009 at 6:07 AM, Michael Rueger <m.rueger@acm.org> wrote:
2009/7/14 Mariano Martinez Peck <marianopeck@gmail.com>:
The quotes you are mentioning are typographical quotes with unicode values > 255.
If I copy paste "Muelle Almirante Storni" in a workspace of Pharo, it is perfectly understood. But if I paste I get: ?Muelle Almirante Storni?
I'm confused what works and doesn't work. Copy/paste within Pharo with normal or typographical quotes?
Normal work perfect. With typographical when I past it, the quotes are replaced by '?' and thus I see ?Muelle Almirante Storni?
' âMuelle Almirante Storniâ' findString: 'esquel' startingAt: 1 caseSensitive: false This has a problem (index out of range) because internaly it tries to ask the asciiValue and this answers 2881 -> absurd
Is this a bug? or it is just like this ?
sounds like two different bugs, the paste problem (if I understood you correctly) and the search problem.
In addition, I did this tests in Windows (the rest was Linux) and in windows works perfect all the situations with both quotes.
Michael
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project