DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=37805>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37805 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Additional Comments From [EMAIL PROTECTED] 2005-12-06 13:45 ------- (In reply to comment #0) > > // Add the Content-type header. This sets the charset to UTF-8. > method.setRequestHeader( "Content-type", "text/xml; charset=UTF-8" ); > // The given string is converted internally by the post method into > // a UTF-8 encoded byte array. > method.setRequestEntity( new StringRequestEntity( xmlstring ) ); > This should do the trick RequestEntity entity = StringRequestEntity(xmlstring, "text/xml", "UTF-8"); method.setRequestEntity(entity); > Also, I didn't notice any "upgrade to 3.x" documentation which would > have helped me :/ Well, since no one bothered to contribute one, it is not there. I can't do everything alone. We happily accept contributions. Oleg -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
