Re: Net-SNMP and non ASCII characters

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Octavi Fullana <[email protected]> writes:

> I have tried to add the -Oa switch in the SNMPDOPTS line inside the
> /etc/init.d/snmpd script, but it is ignored. Does anybody know how to
> force the output to be ASCII for all snmp items?

The applications use the isprint() function to determine if a character
is printable.  Which means that the locale environment needs to be set
up properly so that isprint() returns true for non-ascii characters that
are, indeed, printable.
-- 
Wes Hardaker
SPARTA, Inc.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.