Hello,

I'm just beginning to learn web2py. I've bought the web2py manual and
am reading Chapter 1.

I've defined a model through the admin interface:

db = SQLDB('sqlite://storage.db')
db.define_table('contacts',
    SQLField('name', 'string', length=20),
    SQLField('phone', 'string', length=12))

When I go to the admin interface to add some records, I can add names
that are written with Latin characters just fine, but when I try to
enter a name written with Cyrillic characters, I get an error that
says that the name is too long, although it is not.

For example, if I enter the name Олег Зимний, which is 11 characters
long, I get that error.

If I enter a short name such as Олег, the record is added fine.

The maximum length is set to 20 in the table definition and names with
Latin characters whose length is up to 20 characters can be added
fine.

Is it a web2py bug? If it is, can it be easily fixed?

--
Alexei Vinidiktov

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to