A heisenbug (was Unicode Spew)
tty <[email protected]> Tue, 18 Feb 2020 14:12:53 -0600 (CST)
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <[email protected]> |
Wierd stuff. The "unicode spew" wasn't what it seemed to be; rather, the final generated html looked like this: <html> <head></head> <body><�!DOCTYPE html><�html><�head><�title>Seaside<�/title><�meta charset="utf-8"/><�link rel="stylesheet" type="text/css" href="/files/WADevelopmentFiles/development.css"/><�/head><�body onload="onLoad()"><�a href="/waDebug?_s=HYflc3WPAZnUmxcX&amp;_k=oAlI2TSho5n4-x6m&amp;1">standard dash<�/a>&nbsp;<�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 [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside