On Jan 6, 2008 4:42 PM, Łukasz Topa <email address hidden> wrote:
> Hi, problem still exists.
> form.py properly rendered descriptions and error messages in unicode,
> I had problems only with value parameter, now it's raising errors also on net.websafe().
I have a test, which has unicode value and it passes.
def testUnicode(self):
t = form.Textbox('first_name', maxlength='255',
description=u'\u1234', value=u'\u1234')
f = form.Form(t)
f.render() # this fails if unicode is not supported.
t = form.Textbox('first_name', maxlength='255',
description=u'\u1234', value=u'\u1234')
t.note = u'\u1234'
f = form.Form(t)
f.render() # this fails if unicode is not supported.
try running python test/fom.py in webpy-0.23 directory.
See if you can add a failing test with your input.
On Jan 6, 2008 4:42 PM, Łukasz Topa <email address hidden> wrote:
> Hi, problem still exists.
> form.py properly rendered descriptions and error messages in unicode,
> I had problems only with value parameter, now it's raising errors also on net.websafe().
I have a test, which has unicode value and it passes.
def testUnicode(self): 'first_ name', maxlength='255', u'\u1234' , value=u'\u1234')
t = form.Textbox(
description=
f = form.Form(t)
f.render() # this fails if unicode is not supported.
t = form.Textbox( 'first_ name', maxlength='255', u'\u1234' , value=u'\u1234')
description=
t.note = u'\u1234'
f = form.Form(t)
f.render() # this fails if unicode is not supported.
try running python test/fom.py in webpy-0.23 directory.
See if you can add a failing test with your input.