Hello Group!

When I do in controller:

    table=SQLTABLE(db().select(db.data_storage.ALL, limitby=(0,20)),
_class='flexit', _width='100%')
    return dict(table = table)

strings that are in database (utf-8 coded) are displayed truncated :
part of the string, than question mark in diamond symbol, than eclipse
(...)

Афанас�...
Балмак�...

etc.

This happens both in my code and in db administration page.
When I do:

    print db().select(db.data_storage.ALL, limitby=(0,20))

I get correct strings in Terminal, so data in database is correct.

How to fix that?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
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