I don't use validators. Are sure nothing changed between 1.67 and 1.8 ? I see in procedure "_insert" : in version 1.67 try: vs.append(sql_represent(value.id, ft, fd)) except: vs.append(sql_represent(value, ft, fd)) and in version 1.68 if hasattr(value,'id'): value = value.id elif ft == 'string' and isinstance(value, (str,unicode)): value = str(value)[:field.length] vs.append(sql_represent(value, ft, fd))
On 22 oct, 20:32, mdipierro <mdipie...@cs.depaul.edu> wrote: > I am sure nothing changed in this respect. Are you using IS_UPPER, > IS_LOWER validators? Other validators? > What kind of errors do you get? > > On Oct 22, 1:16 pm, omicron <jacques.bouss...@gmail.com> wrote: > > > I think a bug was inserted in version with the DAL insert procedure. > > With version 1.67 and a Postgresql database encoded in UTF8, i can > > insert french characters with accents without any conversion. But with > > version 1.68.1 and 1.68.2 it's not possible. But i can update records > > with french accents ! Very strange. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---