Charset troubleshooting
Jump to navigation
Jump to search
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>