“Head Start”
When I save it, the squeak VM blow chunks and dies, I think on the
illegal characters. I'm not sure how to tackle this, I'm assuming
it's
really a seaside problem accepting the form upload without properly
forcing some encoding on it or something. Anyone have any ideas here,
someone's had to ran into this already, pasting text into Pier being
fatal. Suggestions?
Mhh, it works in my 3.8 image and vm. Can you reproduce this with a
simpler application? Maybe even without the web? Do you get a stack-
trace in the console?
Cheers,
Lukas
Found it... I'd forgotten that I had used some sample code you threw up
for compressing the response to the clients.
convertResponse: aResponse
| response gzip stream |
response := super convertResponse: aResponse.
response fieldAt: 'Content-Encoding' put: 'gzip'.
gzip := GZipWriteStream on: (stream := RWBinaryOrTextStream on: '').
gzip
nextPutAll: aResponse contents contents;
close.
^response contents: stream reset
Pier works great without that, guess it has some issues with some
characters or something.