Encoding of filename for MIME attachments
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Encoding of filename for MIME attachments
I'm using a REST service to upload files using MIME attachments.
It should work with Swedish characters but the web service expects the filename in the header to be encoded as utf-8 for non us-ascii characters to work.
Inspected the request from both SoapUI and Postman using Fiddler and Postman correctly sets it utf-8 automatically.
However, SoapUI does not and I can't figure out to set this. Tried changing the default file encoding in vmoptions, setting the ContentID according to RFC 2047 but without success.
When using RFC 2047 encoding actually only "name" gets set but not filename.
Any ideas?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Curl also uses utf-8 which works but still no success in getting SoapUI to use utf-8.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://stackoverflow.com/questions/35747109/where-do-i-set-character-encoding-in-soapui-preferences/...
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unfortunately that only sets the content type charset for a text payload (text/xml etc).
