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
- WP Links from Facebook and Google Ads shows invalid characters
- HTML encoding issues – “” character showing up instead of ” “
- What character encoding is >?
- How to replace � in a string
- hashlib.md5() TypeError: Unicode-objects must be encoded before hashing
- Converting string to byte array in C#
- Does “\d” in regex mean a digit?
- What is base 64 encoding used for?
- Python – Reading and writing csv files with utf-8 encoding
- Where does this come from: -*- coding: utf-8 -*-
- how to convert negative hexadecimal to decimal
- python encoding utf-8
- The origin on why ‘%20’ is used as a space in URLs
- I have a string with “\u00a0”, and I need to replace it with “” str_replace fails
- “Unmappable character for encoding UTF-8” error
- Using unicode character u201c
- URL Encoding Issue %3D instead of (=)
- Python decoding Unicode is not supported
- C# Encoding a text string with line breaks
- Random Question Mark Icons In WordPress Text
- If a hacker changed the blog_charset to UTF-7 does that make WordPress vulnerable to further attacks?
- Filter any HTTP request URI?
- How to control accept encoding on HTTP API requests?
- How do I mock HTTP requests for PHPUnit?
- How to remove rest api link: in http headers?
- How to use the HTTP API with a Proxy?
- Mutual Authentiction on HTTPS with WordPress HTTP API?
- How to use WordPress HTTP API to download file from remote location
- Encode text string being appended as query to URL [closed]
- Truncating custom fields
- How to add Request header in WordPress remote api calls
- HTTP digest authentication using wp_remote_get
- Hook into WordPress update?
- How to stop WordPress using utf8mb4_unicode_520_ci collation?
- Syntax error, unexpected ‘class’ (T_CLASS) on line 1 after upgrade to php 5.6.4
- Character encoding issue after changing servers
- Add whitespace between Chinese and other letters
- How can I stop TinyMCE from converting my HTML entities to characters?
- Send data to 3rd party api with wp_remote_post on wp_login
- Wp_remote_post not posting data
- WordPress Database Charset/Collate
- How to run multiple Async HTTP requests in WordPress?
- Log in from one wordpress website to another wordpress website
- How to consume and display external data in WordPress from another website
- WP_Http_Cookie destroys cookie value through urldecode()
- HTTP request on localhost failing
- How can I use CURLOPT_USERPWD in wp_remote_post?
- parse XML from URL (via SOAP)
- POST to a REST API from a wordpress form
- Why WP encodes UNICODE (UTF8) containing urls? Any drawbacks of UNICODE url?
- do_settings_sections() doesn’t escape quotes
- Allowing non-latin characters in registration
- JSON not valid after json_encode posts
- Connect external web app to wordpress
- Non-Latin Characters in permalinks
- How to increase the character limit for post name of 200?
- Faulty restore of the database, encoding issue
- Remove “Category Archives: title” at the top of a category page [duplicate]
- How to encode post content as JSON?
- How to write Hebrew characters?
- cURL vs WP_Http for safety?
- What is wp_check_invalid_utf8?
- WordPress load-scripts.php encoding issue
- Text cut off on save
- Strange characters on wordpress site – Not UTF8 Issue
- Custom DB_COLLATE (collation) value not working on fresh install?
- API JSON Data in WordPress