I think I'm having the same issue...

I have a multi-part form posting to a blobstore upload handler.
There's four form fields:

2 input type=file
1 input type=text
1 textarea

Those map to...

2 blobstore.BlobReferenceProperty
1 StringProperty
1 TextProperty

... respectively, on my model class.

And the problem is... when I submit an input string such as "á é í ó ú
and ñ", I get: "IuEg6SDtIPMg+iBhbmQg8SI=", both on the StringProperty
and TextProperty.
At least, this is what I see on the Data viewer or when I output on
the app.

Any workarounds you can think of? Anybody else is having this problem?

On Aug 3, 3:54 pm, ekampf <[email protected]> wrote:
> yep..
> It doesnt happend on the local dev server... its definately something
> undocumented happening on AppEngine
>
> On Aug 3, 10:54 am, alon <[email protected]> wrote:
>
>
>
> > it outputs as a base64 string? im guessing the post is multi-part post
> > right?
>
> > On Aug 3, 10:39 am, ekampf <[email protected]> wrote:
>
> > > This happens when text fields are sent via POST and go through the
> > > Blobstore upload handler.
> > > When English text is used I get the text.
> > > When Hebrew is used I get a base64 string...
>
> > > I'm not looking at the datastore dashboard. I'm looking at the actual
> > > POST data (via logging)
>
> > > On Aug 3, 10:18 am, alon <[email protected]> wrote:
>
> > > > Does that happen everytime on the blobstore only api? or regular text -
>
> > > > > datastore?
>
> > > > One more thing, there is a huge difference on how the text is being
> > > > displayed on the datastore dashboard. are you sure its being saved as
> > > > base64? the page encoding for the production datastore browser is
> > > > massed up and cant display hebrew correctly in oppose to the local dev
> > > > version which has utf8 encoding display.
>
> > > > On Jul 23, 2:09 pm, ekampf <[email protected]> wrote:
>
> > > > > I have a form with a file input and a text input field.
> > > > > When users type Hebrew text I get a Base64 encoded string on the
> > > > > server. When typing English I get a non Base64 string.
> > > > > On the development server I get a regular Unicode string (what I'd
> > > > > expect)
>
> > > > > Cant find any mentions of this in the docs.
> > > > > What the behavior I should expect on production? Is this a bug?

-- 
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