UTF-8 Compliant Requests
Posted by on 19 August 2013 01:24 PM
|
|
If you are experiencing issues with UTF-8 / UTF8 compliance with your requests, consider these steps: 1. The best way to address this, in regards to our service, is to UrlEncode the entire request (after &stwurl=) so that it is browser independent. That will fix the issue in the most reliable way. Note: Using other types of page encoding, such as windows-1252 or iso-8859-1 while attempting to request URLs containing UTF-8 characters may result in strange behavior. In extensive testing, we have found that browsers of the visitor to the page may truncate the request URL at the UTF-8 character, at which point an invalid request is made and an error shown on your web page. Since page encoding and end-user web browsers are involved, this applies only to the "Embedded" or "Simple Method" API. In order to ensure widespread compatibility and valid requests, we recommend using UTF-8 encoding and/or thoroughly test your web pages. A malformed or truncated request may result in a HASH_MISMATCH error, but is generally blocked by our system. Learn more about PagePix's encoding support. | |
|