After googling around I found the following statement: Browsers send them as CR LF pairs, encoded as %0D%0A. Ref.: http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4.1
So it is up to me to replace the cr with a lf. On 9 Jul., 10:18, Bastian <[EMAIL PROTECTED]> wrote: > You're right. These values are used for a textarea. But I'm not on > Windows. I'm using Ubuntu GNU/Linux with mechanize as my "browser". > When back home, I will inspect how Firefox might changes the values in > the textarea. > > Bastian > > On Jul 8, 10:56 am, Christoph Zwerschke <[EMAIL PROTECTED]> wrote: > > > Bastian wrote: > > > requesting a turbogears 1.0.1 based page with a html form on it causes > > > prepopulated values beeing translated from '\n' line break style to '\r > > > \n' line break style. The values have been prepopulated by the > > > request. I'm using TurboGears Forms. > > > Are these values used for a textarea? Then I suppose a browser under > > Windows is doing this. I don't think TG has anything to do with it. > > > -- Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

