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
- What character encoding is >?
- How to replace � in a string
- Does “\d” in regex mean a digit?
- What is base 64 encoding used for?
- Python – Reading and writing csv files with utf-8 encoding
- I have a string with “\u00a0”, and I need to replace it with “” str_replace fails
- “Unmappable character for encoding UTF-8” error
- URL Encoding Issue %3D instead of (=)
- C# Encoding a text string with line breaks
- 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?
- Hook into WordPress update?
- Add whitespace between Chinese and other letters
- How to run multiple Async HTTP requests in WordPress?
- HTTP request on localhost failing
- Why WP encodes UNICODE (UTF8) containing urls? Any drawbacks of UNICODE url?
- Non-Latin Characters in permalinks
- Faulty restore of the database, encoding issue
- How to encode post content as JSON?
- What is WordPress file encoding?
- add_rewrite_rule not working for language specific characters
- Query string becomes encoded when a static page is used as homepage
- Does wp_remote_post support asynchronous request?
- WordPress problem with htmlentities
- Emojis getting converted to “?”
- Inconsistent server code response using HTTP API
- How deactivate the http-api
- creating form for wp_remote_post
- urlencode query string in gravity forms confirmation redirect
- How to make Http Request to a php file present in plugin directory of wordpress
- wp remote post getting a 404 error code
- How to get my post title to work with an apostrophe (‘s)?
- 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?
- wp_remote_post – handling responses
- Avoid glitchy characters – my own version of the problem
- Adding inline JavaScript encoding issue
- How to send file by wp_remote_post?
- copying text from ms word to wordpress post appears weird [closed]
- esc_js() breaks unicode sequences by removing the slash ‘\’ character
- 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 ‘?’
- Plugin won’t output characters with diacritics properly
- 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
- Why is this specific API request failing when sending via wp_remote_post?
- upload image with rest API to the media library