Charset troubleshooting: Difference between revisions

From Safe Creative API
Jump to navigation Jump to search
w>Jguillo
(Created page with 'The component '''charset.analysis''' returns the bytes corresponding to the UTF-8 encoding of the text specified in the parameter: REQUEST: <pre> https://api.safecreative.org/v…')
 
m (1 revision imported)
 
(No difference)

Latest revision as of 08:07, 7 May 2021

The component charset.analysis returns the bytes corresponding to the UTF-8 encoding of the text specified in the parameter:


REQUEST:

https://api.safecreative.org/v2/
?component=charset.analysis
&text=any+UFT-8+string+to+be+analyzed

RESPONSE:

<?xml version="1.0" encoding="UTF-8"?>
<charsetanalisys>
  <text>any UFT-8 string to be analyzed</text>
  <charlen>31</charlen>
  <byteslen>31</byteslen>
  <bytes>616e79205546542d3820737472696e6720746f20626520616e616c797a6564</bytes>
</charsetanalisys>