This is an issue that has been frustrating me for the last few days:
I have created a form for file upload using the Blobstore that looks
like this:

<form method="post" action="<%= blobstoreService.createUploadUrl("/
insertFile") %>" method="post" enctype="multipart/form-data">

                                <p>Select file:<input type="file" 
name="uploadedFile"/></p>
                                <p>Description:<input type="text" 
name="description" size="60"/></
p>
                                <p><input type="submit" value="save"/></p>
                        </form>

The "doPost" method in the "isertFile" servlet looks like this:


                Map<String, BlobKey> blobs =
blobstoreService.getUploadedBlobs(req);
                BlobKey blobKey = blobs.get("uploadedFile");
                String description = req.getParameter("description");
                resp.sendRedirect("/message.jsp?blobKey="+blobKey.getKeyString()
+"& desc="+description);

If the description contains English characters, everything is fine.
Problem is that when I enter Hebrew characters into the description
field, I get a jumbled description in the URL. I suspect that it is
returned jumbled from the blobsotreService.
Appreciate any advice.

Edo


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-java?hl=en.

Reply via email to