<br><br>On 10/25/07, Philippe Marschall <<a href="mailto:philippe.marschall@gmail.com">philippe.marschall@gmail.com</a>> wrote:<br>> 2007/10/25, Miguel Enrique Cobá Martínez <<a href="mailto:m.coba.m@gmail.com">
m.coba.m@gmail.com</a>>:<br>> > Michael Perscheid wrote:<br>> > > Dear list,<br>> > ><br>> > > We proudly present a new Seaside tutorial (for Squeak 3.10 and Seaside 2.8).<br>> > > This tutorial was produced by the Software Architecture Group at the
<br>> > > Hasso-Plattner-Institute (University of Potsdam). In ten chapters we<br>> > > describe step by step the development of a ToDo-application and thereby<br>> > > demonstrate the main parts of the sophisticated web framework Seaside.
<br>> > > Since this is the first version we hope that you can help to improve the<br>> > > quality by providing feedback.<br>> > ><br>> > > Have a look at: <a href="http://www.swa.hpi.uni-potsdam.de/seaside/tutorial">
http://www.swa.hpi.uni-potsdam.de/seaside/tutorial</a><br>> ><br>> > Hi, excellent tutorial.<br>> ><br>> > I have a problem though.<br>> > I have added the method<br>> ><br>> > charSet
<br>> > ^ 'iso-8859-1'<br>> ><br>> > to StSession in order to correctly display characters in spanish (á, é,<br>> > etc).<br>> ><br>> > I had 4 task in my todo list but the accented characters showed as a
<br>> > weird symbol with a question mark in it (�). So I added the said method.<br>> > The text displayed correctly after that.<br>> > Then I added the 5 task and instead of my todo list all I got was a page
<br>> > full of weird question marks characters:<br>> ><br>> > <���!���D���O���C���T���Y���P���E��� ���h���t���m���l���<br>> > ���P���U���B���L���I���C���<br>> > ���"���-���/���/���W���3���C���/���/���D���T���D���
<br>> > ���X���H���T���M���L��� ���1���.���0���<br>> > ���S���t���r���i���c���t���/���/���E���N���"���...<br>> ><br>> > Thinking this had something to do with the charSet method, I removed it.
<br>> > Nothing. The same page full of weird characters.<br>> ><br>> > Questions:<br>> > Has someone had a problem like this? Is there a solution?<br>> ><br>> > How can I input accented characters in a form and have Seaside manage
<br>> > them correctly?<br>> ><br>> > Seaside generate a default charset of utf8, but my seaside session<br>> > outputs á as � unless I manually change the encoding to iso-8859-1 in<br>> > the View -> char encoding menu of firefox. Is this the intended
<br>> > behavior? My debian environment is all in utf8 encoding.<br>> <br>> How did you install Seaisde? With the installer or Universes? Do you<br>> have spanish characters in the source code as well?<br><br>
Sorry for not providing that information.<br><br>I have squeak 3.9.8-2 installed using aptitude from<br><br>deb <a href="http://ftp.squeak.org/debian/">http://ftp.squeak.org/debian/</a> stable main<br><br>the image from squeak is version
3.9.7067.1<br><br>Later I downloaded the squeak-web image from Damien Cassou sq3.10-7137web07.08.1.zip and that is the image I use for seaside learning.<br>The version of seaside in the squeak-web image is Seaside2.8a1-1r.428
<br><br>This is a snipet of my code with characters in spanish:<br>From StLoginComponent>>renderContentOn:<br><br>renderContentOn: html<br> <br> html div<br> class: 'generic';<br> with:[<br>
html heading: StToDoLibrary applicationName.<br> html render: self messageComponent.<br> html text: 'Ingrese con su email y contraseña (no use la contraseña de su email real):'.<br>
html form:[<br> html textInput <br> on: #email of: self;<br> value: ''.<br> html space.<br> html passwordInput <br> callback:[:value | self password: (MD5 hashMessage: value) asInteger asString];
<br> value: ''.<br> html submitButton <br> callback:[self validateLogin];<br> text: 'Login'.<br> html paragraph<br> with:[ html anchor
<br> callback:[self registerUser];<br> with: [html text: 'Registrarse para ', StToDoLibrary applicationName.]]]].<br><br>Where I use the character ñ (&ntilde; in html) and it is displayed, before I added the charSet message, as �.
<br><br>Miguel Cobá<br><br><br><br><br>> Cheers<br>> Philippe<br>> <br>> > Again, good job.<br>> > Regards,<br>> > Miguel Cobá<br>> ><br>> ><br>> > ><br>> > > Regards
<br>> > > Michael Perscheid<br>> > ><br>> > ><br>> > > _______________________________________________<br>> > > seaside mailing list<br>> > > <a href="mailto:seaside@lists.squeakfoundation.org">
seaside@lists.squeakfoundation.org</a><br>> > > <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>> > >
<br>> ><br>> > _______________________________________________<br>> > seaside mailing list<br>> > <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>> >
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>> ><br>> <br>> _______________________________________________
<br>> seaside mailing list<br>> <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
</a><br>> <br>> <br><br>