The API has to deal with both DisplayString (underlying type OCTETSTR) and
actual octet strings. It makes sense for a DisplayString to be utf-8
encoded, but, it doesn't make sense for actual octet strings.
Python 3 does have two different types that can very usefully be used for
this: a string
Net-SNMP v5.9.3 with python 3.6.3.
I'm not sure if this has only become an issue since the move of strings from
bytes to Unicode in Python 3 but I cannot set an OID value to an octet string
containing octets >=128.
I am trying to set a MAC address in an OID.
macAddress =