Groups
Sign in
Groups
web2py-users
Conversations
Labels
About
Send feedback
Help
problem with the display of Russian language
31 views
Skip to first unread message
Zhenya Kolchin
unread,
Jun 23, 2016, 5:22:57 AM
6/23/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
I make a query to the MSSQL database with russian full names but receive
���� this only instead of Иван for example
Massimo Di Pierro
unread,
Jun 24, 2016, 5:37:41 AM
6/24/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
Can you please check the DB IO separately from web2py?
s = "Иван".encode('utf8')
k = db.youtable.insert(yourfield = s)
assert db.yourtable[k].youfield == s
Then the problem may be the encoding declared in your page layout.
Nbush
unread,
Jun 24, 2016, 8:57:06 AM
6/24/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
try
DAL(mssql4://user:password@hostname/dbname, driver_args = {'DRIVER' : 'FreeTDS', 'TDS_Version' : '8.0', '
ClientCharset':'UTF8
'})
четверг, 23 июня 2016 г., 12:22:57 UTC+3 пользователь Zhenya Kolchin написал:
Reply all
Reply to author
Forward
0 new messages