I have an app that lets a user edit HTML code and upload to the
blobstore as a .html file. When I want to retrieve the html code to
display to the user for editing, I user fetchData and it returns a
byte [] array containing each character as a byte in the array. I can
create a new String(byteData, "UTF-8"), but certain characters come
out funky such as the smartquotes.

The smartquotes come out as negative values in the byte array. How can
I convert the byte array to a String that contains the right character
encoding to display the quotes etc. for putting into a <textarea> html
field?

Thanks!

Josh

-- 
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 google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to