I use Ubuntu Server 10.04.3. I tried to setup LANG variable to es_ES.UTF-8 
(previously it was en_US.UTF-8) in /etc/default/locale, but I still have to use 
de -Oa option with snmpget to get the ASCII string

Octavi Fullana 

-----Mensaje original-----
De: dave.shi...@gmail.com [mailto:dave.shi...@gmail.com] En nombre de Dave 
Shield
Enviado el: miércoles, 20 de junio de 2012 17:35
Para: Octavi Fullana
CC: net-snmp-users@lists.sourceforge.net
Asunto: Re: Net-SNMP and non ASCII characters

On 20 June 2012 16:26, Octavi Fullana <ofull...@central.aplitec.com> wrote:
> Can you please give me some guidelines to correctly setup locales?
> I already installed "es-ES", but  still receive the hexadecimal output

That probably makes the Spanish locale available, but doesn't necessary make it 
active.

What O/S are you working with?
Try setting the environment variable 'LANG' to be 'es-ES'
and see if that helps.   Or possible 'LC_ALL'


Dave

------------------------------------------------------------------------------
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to