Hi,

OctetString does not "use" any encoding. As the name
suggests, it represents an octet string which is
a (binary) string of 8-bit bytes.

If you convert an OctetString to a String, UTF-8 is
used by default (Java does that). You are responsible
to use the correct format as specified in the
corresponding MIB specification of the object.

Regards,
Frank

karunakaran s.l wrote:
Hi All,

            I want to know the snmp4j's  "OctetString" uses the UTF encoding
or not.

If it uses the UTF Encoding means what is encoding type (8 or 16). If not
using UTF encoding means is any other way of using UTF Encoding for setting
the MO Values of type OctetString. (Example: UTF encoding for sysLocation).

Please clarify this as soon as possible.


Thanks
Karunakaran
_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j

--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com


_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j

Reply via email to