Do you happen to know exactly where the error is occuring, and can you
provide code samples from where you're retrieving the form data, and
the line where the actual exception occurs?

At some point your input string is being treated as ASCII. Attempting
to encode an already valid utf-8 string with characters outside of the
ASCII range normally results in a different error, so chances are your
input isn't ever being properly treated as unicode.

Daniel

On Nov 27, 4:42 am, Ahmed Toulan <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I was trying to post some arabic data from a form. Then put the data
> into the datastore. The text seems to be correct unicode., but I get
> this error:
>
> 'ascii' codec can't decode byte 0xd9 in position 0: ordinal not in
> range(128)
>
> It seems to me that Google app Engine is trying to re-encode the text
> although it was already utf-8 !. Is this the normal behavior ? Is
> there someway to stop these errors ?
--~--~---------~--~----~------------~-------~--~----~
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