After trying several times to set the proper charset, I wasn’t successful. Then I searched for an workaround and found one that worked with my problem.
In addition to set the charset like I mentioned above, what I did is to convert all strings on my POST body with this php snippet:
$message = @iconv("UTF-8","Windows-1252//IGNORE",$message);
This converts all of your characters into compatible Windows-1252 strings. For me, it worked, and all special characters are properly recognizable on the ISS server.
Related Posts:
- Is ‘# -*- coding: utf-8 -*-‘ also a comment in Python?
- What is the difference between UTF-8 and Unicode?
- Byte and char conversion in Java
- What is “=C2=A0” in MIME encoded, quoted-printable text?
- Sending JSON string through wp_remote_post()
- Strange characters – despite everything being UTF-8
- Error timed out with succesfull wp_remote_post
- Difference between wp_remote_post and wp_safe_remote_post
- One for the gurus: upgrade to 3.x messed up only filenames with accented chars
- Word press replacing unicode characters with “?”s
- Outputting post title without encoding
- Apostrophes showing up as ΓÇÖ after converting from Windows to Linux
- WordPress content shows this character ​​
- wp_remote_request header error even though working properly with cURL
- Symbols such as £ end up being  in the database
- Fix encoding ’ [closed]
- Getting Non-printable characters were found while entering Euro Symbol
- http_response_timeout filter not working
- How to deal with apostrophes
- wp_remote_post empty $_POST
- Question mark on special chars
- Encoding Issue while using French in WordPress
- Get ?? for unicode characters
- WordPress theme character encoding issue
- character encoding problem in custom template
- restored old database now some characters have changed?
- WordPress plugin problem with encoding
- Post removes any text from post that’s following special characters
- UTF-8 Characters in URL – IE problem
- WordPress Dashboard Characters Messed Up
- How to make sure the letters ‘pez’ do not convert to a fish symbol? [closed]
- Problem some Persian texts show in ISO-8859-5
- wp_http remote request not respecting timeout
- What character encoding is >?
- “Unmappable character for encoding UTF-8” error
- URL Encoding Issue %3D instead of (=)
- If a hacker changed the blog_charset to UTF-7 does that make WordPress vulnerable to further attacks?
- How to control accept encoding on HTTP API requests?
- How to add Request header in WordPress remote api calls
- HTTP digest authentication using wp_remote_get
- Hook into WordPress update?
- Add whitespace between Chinese and other letters
- How to run multiple Async HTTP requests in WordPress?
- POST to a REST API from a wordpress form
- Why WP encodes UNICODE (UTF8) containing urls? Any drawbacks of UNICODE url?
- Non-Latin Characters in permalinks
- How to increase the character limit for post name of 200?
- Faulty restore of the database, encoding issue
- How to encode post content as JSON?
- Custom DB_COLLATE (collation) value not working on fresh install?
- What is WordPress file encoding?
- Change the headers content type with wp_remote_post
- Stuck with wp_remote_post sending data to an external api on user registration
- Query string becomes encoded when a static page is used as homepage
- Does wp_remote_post support asynchronous request?
- Site Rss not seen by browser
- WordPress problem with htmlentities
- Inconsistent server code response using HTTP API
- What’s the best way to detect referrer?
- creating form for wp_remote_post
- How to make Http Request to a php file present in plugin directory of wordpress
- Behind-the-scenes HTTP Request?
- HTML Entities displaying improperly as malformed escaped code
- Post Content, Special Characters and Filters
- Editing URL character replacement
- WP Remote Request not returning all of content via request
- Return encoded Page Title outside of a loop
- How to properly encode url with parameters for redirect_to
- How to create custom post by using REST API securely?
- How to make a implement queue for scheduling tasks in WordPress?
- Avoid glitchy characters – my own version of the problem
- Adding inline JavaScript encoding issue
- XML-code sent via the POST method to the URL (API) [closed]
- copying text from ms word to wordpress post appears weird [closed]
- Unicode characters displaying as ? after import using WP Clone
- Post editor loads empty
- UTF8 Encoding problems when exporting posts
- WP_Http response throws “Cannot use object of type WP_Error as array”
- Proper context for wp_remote_post()
- Images are not showing after moving WordPress installation from server to localhost?
- Problems character encoding for pages in multiple languages
- External HTTP API calls slowing down WordPress admin [closed]
- Send a get request to wordpress
- Blank spaces show as a question mark
- Outputting HTML elements through WP-API
- Problems with wierd characters and my plugin
- Properly loop through and paginate page on each function call
- Post content in wp_remote_post
- Call external API in wordpress based on user input
- Problems getting values from response from wp_remote_post
- Special characters in post_title replaced by ‘?’
- wp_remote_post not working with admin-post.php
- Remove unwanted fields from WP API response
- How to receive JSON payload from a digital device
- Strange special character/Latin characters
- WordPress wp_remote_post() sending informaiton to Redmine REST API
- Create plugin/function to catch XML-data via Shortcode
- Webhook: save_post action fires wp_remote_post twice
- wp_remote_post() and Pem certificates
- wordpress shortcode url decode non Latin character