Forum Discussion
What_Lies_Bene1
May 08, 2015Cirrostratus
Are these characters actually supported by ASCII? If not, they can't be converted into ASCII surely?
This is a tough one for a newbie to be facing.
Something like this might work:
set hex_string [what_ever_you_use_to_get_the_hex_dn]
set some_variable [binary format a* [encoding convertto utf-8 [$hex_string]]
log local0. "The converted string is ${some_variable}"
The string, scan and expr commands can also be used in some fashion but without a way to test I can't confidently say what will work I'm afraid.