thanks for reply. this is the error info when using str()

Traceback (most recent call last):
  File "D:\Program Files\Google\google_appengine\google\appengine\ext
\webapp\__init__.py", line 499, in __call__
    handler.get(*groups)
  File "e:\gae\2.py", line 24, in get
    for un in DjUser.ShowUsers():
  File "e:\gae\DjUser.py", line 110, in ShowUsers
    return [str( user.UserName ) for user in Dj_User.all()]
UnicodeEncodeError: 'ascii' codec can't encode characters in position
3-5: ordinal not in range(128)


for using as string,  code as:

return [user.UserName + "<br/>" for user in Dj_User.all()]

there is no error now. i can not decide what is changed before it
turns fine.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to