String>>asHtml and Character>>isoToSqueak ?
Ragnar Hojland Espinosa
ragnar.hojland at linalco.com
Mon Jun 21 18:55:08 UTC 2004
I cant get myself to understand this, perhaps someone could show me
why this is not broken and bring some sense to my world? :)
Transcript show: 'company3' asHtml; cr.
String, in class initialization, creates a html entity mapping
entity ---> (n + 159) asCharacter asIsoToSqueak.
and asHtml does a copy and replace of any character thats is the
Which would be fine, except for the fact that Character>>asIsoToSqueak
doesnt appear to have a mapping for (94 + 159) asCharacter, therefore
falling back to returning 121.. now asHtml happily thinks the fallback
value "y" should be mapped to "y acute"
121 asCharacter isoToSqueak = 253 asCharacter isoToSqueak
Same would happen with 1, 2, 3, and others..
Ragnar Hojland - Project Manager
Linalco "Specialists in Linux and Free Software"
http://www.linalco.com Tel: +34-91-4561700
More information about the Squeak-dev