Hello, Kurt,

On Wed, Dec 3, 2008 at 5:38 PM, Kurt <[EMAIL PROTECTED]> wrote:
> Ahh found the problem I needed to write testparam.encode('utf-8')

Use:

# -*- coding: utf-8 -*

And write (note missing 'u' that indicated unicode):
testparam = "testpäräm"

instead of:
testparam = u"testpäräm"

While I'm not sure if _params_ really can't accept unicode (only
utf-8). It might be possible that you are using wrong encoding in your
editor (not UTF-8).


-- 
Dalius
http://blog.sandbox.lt

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

Reply via email to