NetXMS Support Forum

Development => General => Topic started by: 165432896 on February 13, 2012, 11:14:50 AM

Title: How can the console display the interfaces name in chinese
Post by: 165432896 on February 13, 2012, 11:14:50 AM
hi Victor:
    My mother language is Chinese.The netxms is 1.1.6. The agent is in windows. The server is centos-5.4. But When the agent's interface name have chinese string.The console cann't display it(It display messy code when it is Chinese.) 
    Maybe it is the encoding problem. But I can not find where the encodeing problem arise(Is it in agent、Server、DB or console?)Can you tell me the which types of encode the agent and the Server used.
    I try to  compile the server with "--enable-unicode" but it can not compile  success.
    Is there any way to make the console display the interfaces name support Chinese string?   ???
Thanks!
Title: Re: How can the console display the interfaces name in chinese
Post by: Victor Kirhenshtein on February 13, 2012, 11:33:11 AM
Hi!

Current situation with UNICODE is following:

console and communication protocol uses UNICODE, so no problems there;
agent does not use UNICODE;
server uses UNICODE only on Windows.

So most likely your problem is with server code page or agent code page. You can control server's code page by setting parameter CodePage in netxmsd.conf.

Best regards,
Victor
Title: Re: How can the console display the interfaces name in chinese
Post by: 165432896 on February 15, 2012, 08:30:54 AM
Thanks you :)