I wrote a test code, and verified this bug (it happens in Japanese as well).
Here is the form: <form id='form_upload' action="$(_upload_url)" method="POST" enctype="multipart/form-data"> <div class='dialog_field'> <div class='field_name'>File:</div> <input type='file' name='file' /> <input type='hidden' name='alt' value='main'/> </div> <div class='dialog_field'> <div class='field_name'>Description</div> <input type='text' name='desc' /> </div> </form> Satoshi On Nov 12, 11:52 am, "Ikai Lan (Google)" <ikai.l+gro...@google.com> wrote: > Do you guys have any sample code? I'm testing this and seeing that the local > dev server gives me some strange characters (I'm using Java). What does the > form look like? How are you reading the input from the form submission? > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine > Blogger:http://googleappengine.blogspot.com > Reddit:http://www.reddit.com/r/appengine > Twitter:http://twitter.com/app_engine > > On Fri, Nov 12, 2010 at 5:09 AM, msmart <michael.martini...@gmail.com>wrote: > > > > > I ran into the same issue. > > > Has anyone found the corresponding issue in the bug tracker (or a nice > > workaround)? > > > Michael. > > > On 26 Okt., 09:28, Kenneth <goo...@kmacleod.ie> wrote: > > > This is a pretty shocking bug (or lack of documentation?) from > > > Google. There doesn't appear to be a consistent way to decode the > > > post results that come from the BlobstoreUploadHandler. There was a > > > bug in the issues list for this but I can't find it. I should put in > > > another one really but there doesn't seem to be any point. > > > > What I do is when the user hits the submit button I send the form > > > results via an ajax request and once that returns I submit the form to > > > do the file upload. > > > > Pretty sad you have to do that and it means you're requiring > > > javascript for something that really shouldn't need it. > > > > On Oct 25, 10:49 am, Agustin Horischnik <agu...@gmail.com> wrote: > > > > > Hey, no luck with this? Did you solve this at all? > > > > > On Aug 31, 12:40 pm, Agustin Horischnik <agu...@gmail.com> wrote: > > > > > > I think I'm having the same issue... > > > > > > I have a multi-part form posting to ablobstoreuploadhandler. > > > > > There's four form fields: > > > > > > 2 input type=file > > > > > 1 input type=text > > > > > 1 textarea > > > > > > Those map to... > > > > > > 2blobstore.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 <eka...@gmail.com> wrote: > > > > > > > yep.. > > > > > > It doesnt happend on the local dev server... its definately > > something > > > > > > undocumented happening on AppEngine > > > > > > > On Aug 3, 10:54 am, alon <alon.car...@gmail.com> wrote: > > > > > > > > it outputs as abase64string? im guessing the post is multi-part > > post > > > > > > > right? > > > > > > > > On Aug 3, 10:39 am, ekampf <eka...@gmail.com> wrote: > > > > > > > > > This happens when text fields are sent via POST and go through > > the > > > > > > > >Blobstoreuploadhandler. > > > > > > > > When English text is used I get the text. > > > > > > > > When Hebrew is used I get abase64string... > > > > > > > > > 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 <alon.car...@gmail.com> wrote: > > > > > > > > > > Does that happen everytime on theblobstoreonly 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 pageencodingfor the production datastore browser > > is > > > > > > > > > massed up and cant display hebrew correctly in oppose to the > > local dev > > > > > > > > > version which has utf8encodingdisplay. > > > > > > > > > > On Jul 23, 2:09 pm, ekampf <eka...@gmail.com> wrote: > > > > > > > > > > > I have a form with a file input and a text input field. > > > > > > > > > > When users type Hebrew text I get aBase64encoded string on > > the > > > > > > > > > > server. When typing English I get a nonBase64string. > > > > > > > > > > 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 google-appeng...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine+unsubscr...@googlegroups.com<google-appengine%2Bunsubscrib > > e...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.