CVSROOT: /cvs Module name: src Changes by: mart...@cvs.openbsd.org 2020/08/08 01:18:08
Modified files: usr.bin/snmp : mib.h smi.c Log message: Somewhere during working on UTF-8 support I thought it was a good idea to use sysContact as a testcase, because it's readily available in snmpd, but forgetting it's actual textual convention as time went by, which is DisplayString (which is ASCII). Add support for the DisplayString textual convention, which is similar to having no textual convention, except that invalid bytes (value 128 and up) are printed as UTF-8 replacement characters, or question mark, depending on LC_CTYPE. Feedback and OK schwarze@