Re: missing method (Grease - Seaside?) - invalidUtf8

Johan Brichau <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <[email protected]>
Hi Robert,

The missing method is indeed a mistake in the GRPharoUtf8Codec. I added it and published Grease 1.2.6 with the bugfix.
However, you will now get the ‘Invalid utf8’ error instead, which is not solving your problem.

The issue is that the decoder is trying to decode an invalid utf8 bytesequence. You need to check where that is coming from.
Set the WADebugErrorHandler as the exception handler for your application to debug which one it is.

Johan

> On 17 Jan 2016, at 19:03, Robert Kuszinger <[email protected]> wrote:
> 
> Hello!
> 
> I have a form, having a submint button titled 'Belépés' which is a byteString in the source code. From debug I know that it has problem with the 'é'
> 
> WAComancheAdaptor is used, set to UTF-8
> Form has two text fields, one text, one password. 
> 
> The error is here:
> 
> Internal Server Error
> 
> MessageNotUnderstood: GRPharoUtf8Codec>>invalidUtf8
> KomHttpServer/7.1.3 (unix) Server at 'localhost' Port 8080
> 
> Actually there is really no invalidUtf8 method...
> Same in Chrome and Firefox.
> 
> Generated source from the browser:
> <!DOCTYPE html><html><head><title>Seaside</title><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
> 
> [....]
> 
> <form accept-charset="utf-8" method="post" action="/upload?_s=DmRzKcsi0N3do5uR&amp;_k=f4Uk-txWdDmSbrqa">
> <table><tr><td><strong>E-mail:</strong></td><td><input name="1" value="" type="text" class="text"/></td></tr>
> <tr><td><strong>Jelszó:</strong></td><td><input name="2" value="" type="password" class="password"/></td></tr>
> <tr><td><strong> </strong></td><td><input name="3" value="Belépés" type="submit" class="submit"/></td></tr>
> </table></form>
> 
> 
> What else to check? I don't understand what the problem is.
> 
> Thanks
> Robert
> 
> 
> 
> 
> _______________________________________________
> seaside mailing list
> [email protected]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.