Python2.5 supports unicode and GAE uses it pretty much everywhere
already. I'd say you just have to tell the python method opening your
CSV file to use utf8 encoding, or use decode('utf-8') on the raw data.On Jun 30, 4:41 pm, prakhil samar <[email protected]> wrote: > Hi All > > Please help me out with the UNICODE issue on Google App Engine > > As GAE is using Python 2.5 which has default encoding system as > "ASCII" and python 3.0 has default encoding system as "UNICODE" > > I have created one CSV file which contains some unicode characters > like à á â these characters are not in ASCII range, so when i import > the CSV file i get following error: > > " <type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode > byte 0xe0 in position 0: ordinal not in range(128) " > > I have set the default encoding as "UTF 8 " in the Lib folder of > Python 2.5 and it works all fine at my local server but when i deploy > the application on the Google App server then it gives me the above > error. > > Is there any way to set the default encoding for my application on > Google App Engine platform ?? > > Is there any new version of Google Appengine supporting Python 3.0 ?? > > Anyone out there please help me out to resolve this issue > > Thanks in Advance > Prakhil :) -- 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.
