relevant .ind script:
I'm returning some unicode character data from a device (an SSL certificate name). Via SSH on the device, the data displays fine:
But, once I parse with JAWK, it's mangled:
2017-12-07 11:21:21,142 32023 DEBUG - ********* TÃBÄ°TAK_UEKAE_KÃ¶k_Sertifika_Hizmet_SaÄlayÄ±cÄ±sÄ±_-_SÃ¼rÃ¼m_3
So, ultimately, in the live config, it is also mangled.
A quick Google didn't really help me at all -- I get the sense that current versions of gawk support unicode, but I was surprised at how little info there was to easily find. I didn't dig hard.
I'm assuming we're just stuck with ASCII, but wanted to make sure: anything I can do about this?
- run attached script against a fortinet device which has Unicode certificate names.
cert names display properly in live config
cert names are mangled