A heisenbug (was Unicode Spew)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
tty
Reply | Threaded
Open this post in threaded view
|

A heisenbug (was Unicode Spew)

tty
Wierd stuff.

The "unicode spew" wasn't what it seemed to be; rather, the final generated
html looked like this:

<html>
<head></head>
<body>&lt;�!DOCTYPE
html&gt;&lt;�html&gt;&lt;�head&gt;&lt;�title&gt;Seaside&lt;�/title&gt;&lt;�meta
charset="utf-8"/&gt;&lt;�link rel="stylesheet" type="text/css"
href="/files/WADevelopmentFiles/development.css"/&gt;&lt;�/head&gt;&lt;�body
onload="onLoad()"&gt;&lt;�a
href="/waDebug?_s=HYflc3WPAZnUmxcX&amp;amp;_k=oAlI2TSho5n4-x6m&amp;amp;1"&gt;standard
dash&lt;�/a&gt;&amp;nbsp;&lt;�a h
</body>
</html>

The output was being output to the <body> tag, not the top level.

I isolated the culprit.

Character value: 8211


I Copied and modified the WACounter example as WADebug to generate the
error; the callbacks are 'dash' and 'ndash' instead of 'increase' and
'decrease'


ndash
        count := (Character value:8211) asString

dash
        count := '-'



http://menmachinesmaterials.com/waDebug

Unfortunately, it works, and I do not know why.

I run the same thing on my local workstation and I get the "unicode spew"
problem.

But wait! it gets weirder still.

When I deployed to the server, where it works, my workstation version
started working too.

Yet, when I saved the method with the demo text under a new method name, the
error returned.

Anybody seen these symptoms before?

thanks in advance.







--
Sent from: http://forum.world.st/Seaside-General-f86180.html
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside