i read some data from a device. Then i send this data to a web server via xml. The data should be represented in xml so this makes me convert characters between 0-31 because these chars can not be displayed on xml.
The question is how can i convert the chars between 0-31 decimal in a string like [00]abcde[01]fgh[02]...
Are there any built-in function in .net framework or any accepted pattern?
Thanks
i read some data from a device. Then i send this data to a
Share
You should use standard XML encoding:
Your XML API will do that for you, so you don’t need to worry about anything.