<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[About Language Change in Java Console]]></title><description><![CDATA[<p dir="auto">Hi, Victor!<br />
 <br />
     There is a question need your help: after i modified the name of java console to Chinese(i.e. change "Network Maps" to 网络拓扑", i find the new Chinese name i input is not complete, for example, if i input "网络拓扑", only "网络" can be displayed, but if i input 4 blanks after "网络拓扑"("网络拓扑    "), then all words will be displayed. why?</p>
<p dir="auto">     Thank you and wait online for your help...</p>
<p dir="auto">Best Regards</p>
]]></description><link>https://forum.netxms.org/topic/1738/about-language-change-in-java-console</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:36:29 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1738.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 26 May 2012 15:35:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to About Language Change in Java Console on Wed, 30 May 2012 11:47:20 GMT]]></title><description><![CDATA[<p dir="auto">Thank you anyway! Victor, you are really a kind man!</p>
]]></description><link>https://forum.netxms.org/post/7550</link><guid isPermaLink="true">https://forum.netxms.org/post/7550</guid><dc:creator><![CDATA[Billy]]></dc:creator><pubDate>Wed, 30 May 2012 11:47:20 GMT</pubDate></item><item><title><![CDATA[Reply to About Language Change in Java Console on Wed, 30 May 2012 09:03:41 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">I think the only correct solution will be to move server to unicode on Linux. Yesterday I take a look at unicode build - so far I have fixed all build errors in libnetxms, and got to mib compiler and libnxsrv. I'm not sure that I will be able to create working unicode build till 1.2.1 release, but I'll keep working in that direction.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/7549</link><guid isPermaLink="true">https://forum.netxms.org/post/7549</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 30 May 2012 09:03:41 GMT</pubDate></item><item><title><![CDATA[Reply to About Language Change in Java Console on Tue, 29 May 2012 09:17:49 GMT]]></title><description><![CDATA[<p dir="auto">up</p>
]]></description><link>https://forum.netxms.org/post/7531</link><guid isPermaLink="true">https://forum.netxms.org/post/7531</guid><dc:creator><![CDATA[Billy]]></dc:creator><pubDate>Tue, 29 May 2012 09:17:49 GMT</pubDate></item><item><title><![CDATA[Reply to About Language Change in Java Console on Tue, 29 May 2012 02:15:43 GMT]]></title><description><![CDATA[<p dir="auto">[root@NETMAN ~]# uname -a<br />
Linux NETMAN 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT 2011 x86_64 x86_64 x86_64 GNU/Linux</p>
<p dir="auto">and the following is the CENTOS's current charactor set(chinese):<br />
[root@NETMAN ~]# locale<br />
LANG=zh_CN.UTF-8<br />
LC_CTYPE="zh_CN.UTF-8"<br />
LC_NUMERIC="zh_CN.UTF-8"<br />
LC_TIME="zh_CN.UTF-8"<br />
LC_COLLATE="zh_CN.UTF-8"<br />
LC_MONETARY="zh_CN.UTF-8"<br />
LC_MESSAGES="zh_CN.UTF-8"<br />
LC_PAPER="zh_CN.UTF-8"<br />
LC_NAME="zh_CN.UTF-8"<br />
LC_ADDRESS="zh_CN.UTF-8"<br />
LC_TELEPHONE="zh_CN.UTF-8"<br />
LC_MEASUREMENT="zh_CN.UTF-8"<br />
LC_IDENTIFICATION="zh_CN.UTF-8"<br />
LC_ALL=</p>
<p dir="auto"># Example:<br />
DBServer = localhost<br />
CodePage = UTF-8</p>
<p dir="auto">and i have tried to set CodePage to gb2312, it's also the same.</p>
<p dir="auto">To locate the real problem, this morning, i have installed the 1.2.0 vesion Server Binaries in Windows and used the same java console client to connect,  and found the Chinese words displaying result is nomal. So, i can comfirm that the problem is in CentOS's  or Mysql's characters setting, following this clue, i tried changing Mysql's character set to UTF8 and gb2312 and restart Mysqld and netxmsd, but the problem was not solved yet.</p>
<p dir="auto">Another thing:<br />
when i compliled server code in CENTOS with variable "--enable-unicode", compile process will stop and tell me something is wrong.<br />
Error info as follows:<br />
Making all in libnetxms<br />
make[3]: Entering directory `/home/nms/src/libnetxms'<br />
  CXX    agent.lo<br />
  CXX    array.lo<br />
  CXX    base64.lo<br />
  CXX    config.lo<br />
config.cpp: In member function ‘bool Config::loadConfigDirectory(const wchar_t*, const wchar_t*)’:<br />
config.cpp:1086: Error：‘DIRW’在此作用域中尚未声明 (meaning: not declared in this domain)<br />
config.cpp:1086: Error：‘dir’在此作用域中尚未声明<br />
config.cpp:1091: Error：‘wopendir’在此作用域中尚未声明<br />
config.cpp:1097: Error：‘wreaddir’在此作用域中尚未声明<br />
config.cpp:1101: Error：invalid use of incomplete type ‘struct dirent_w’<br />
config.cpp:1087: Error：forward declaration of ‘struct dirent_w’<br />
config.cpp:1101: Error：invalid use of incomplete type ‘struct dirent_w’<br />
config.cpp:1087: Error：forward declaration of ‘struct dirent_w’<br />
config.cpp:1104: Error：invalid use of incomplete type ‘struct dirent_w’<br />
config.cpp:1087: Error：forward declaration of ‘struct dirent_w’<br />
config.cpp:1110: Error：invalid use of incomplete type ‘struct dirent_w’<br />
config.cpp:1087: Error：forward declaration of ‘struct dirent_w’<br />
config.cpp:1114: Error：‘wclosedir’在此作用域中尚未声明<br />
make[3]: *** [config.lo] Error 1<br />
make[3]: Leaving directory `/home/nms/src/libnetxms'<br />
make[2]: *** [all-recursive] Error 1<br />
make[2]: Leaving directory `/home/nms/src'<br />
make[1]: *** [all-recursive] Error 1<br />
make[1]: Leaving directory `/home/nms'<br />
make: *** [all] Error 2<br />
[root@localhost nms]#</p>
<p dir="auto">the following is about iconv compiling info:<br />
checking for libiconv_open in -liconv... no<br />
checking for iconv in -liconv... no<br />
checking for iconv... yes<br />
checking whether iconv supports UCS-2-INTERNAL... no<br />
checking whether iconv supports UCS-2... yes<br />
checking whether iconv supports UCS2... yes<br />
checking whether iconv supports UCS-2BE... yes<br />
checking whether iconv supports UCS-2LE... yes<br />
checking whether iconv supports UTF-16... yes<br />
checking whether iconv supports UCS-4-INTERNAL... no<br />
checking whether iconv supports UCS-4... yes<br />
checking whether iconv supports UCS4... yes<br />
checking whether iconv supports UCS-4BE... yes<br />
checking whether iconv supports UCS-4LE... yes<br />
checking whether iconv supports UTF-32... yes<br />
checking whether iconv supports ISO8859-1... yes<br />
checking whether iconv supports ISO-8859-1... yes<br />
checking whether iconv supports ASCII... yes<br />
checking whether iconv supports //IGNORE... yes<br />
checking for iconv declaration...</p>
<p dir="auto">Maybe it is the real reason? i don't know......</p>
<p dir="auto">Dear Victor &amp; Alex,  hope you can give me some advice, thank you very much!</p>
]]></description><link>https://forum.netxms.org/post/7514</link><guid isPermaLink="true">https://forum.netxms.org/post/7514</guid><dc:creator><![CDATA[Billy]]></dc:creator><pubDate>Tue, 29 May 2012 02:15:43 GMT</pubDate></item><item><title><![CDATA[Reply to About Language Change in Java Console on Sat, 26 May 2012 17:10:34 GMT]]></title><description><![CDATA[<p dir="auto">What operating system your NetXMS server is running on? If not on Windows, what code page is set in netxmsd.conf?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/7511</link><guid isPermaLink="true">https://forum.netxms.org/post/7511</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sat, 26 May 2012 17:10:34 GMT</pubDate></item></channel></rss>