(Entering this discussion a little late, I only just became aware of this 
thread...)

I've be peripherally involved with mDNS and DNS-SD for a long time, and more 
specifically with how DNS-SD and TXT records are used for printing.

For printers, values are always Network Unicode (RFC 5198) which is UTF-8 NFC 
without most control characters.  This is consistent with IPP (STD 92) and how 
we've mapped the old Printer MIB v2 and Host MIB values which use a separate 
MIB property to specify the character set to IPP and other print 
protocols/encodings which exclusively use Network Unicode.

From a software development perspective, I suspect you can reliably detect when 
a TXT record string contains valid UTF-8 and show the contents as text or hex 
data otherwise (or maybe have a toggle?)  Not sure what Wireshark does for TXT 
records, but that might be a place to look for inspiration...

________________________
Michael Sweet

_______________________________________________
DNSOP mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to