I'm trying to convert a xml to byte array using ADO Stream object
and after that convert it to Base-64 using Chilkat to build a json request
The problem is the next:
---The original xml has: <?xml version="1.0" encoding="utf-8" ?>
When I convert the byte array back to UTF-8 to check the conversion, I get only
<?xml version="1.0" ?>
the same occurs with the Base-64 it doesn't has: encoding="utf-8"
What I''m doing wrong?
Are there other ways to do it?
Thanks!