Network adapter Description incorrectly displayed in russian version of Windows

Bug #1583037 reported by Sergey Maximov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OCS Inventory: Windows Agent
Invalid
Undecided
Unassigned

Bug Description

Hello!
Dear developers OCS Inventory Agent. Many thanks for your program!
Excellent product you get. Thank you for your work!
For many years I have been following your project. I am a system administrator in a small company in Russia. I am trying to implement your design. But there is one small thing that confuses me and does not let go completely on the OCS Inventory. This problem is specific, and it is associated with the Russian editions of Microsoft Windows. As you probably know, historically Russian edition of windows has the support of code page cp1251 and cp866. The code page OEM cp866 left for compatibility with older software. Your program works course in modern coding UTF. But the windows api has a flaw. And in the case of function calls iphlpapi.h library in Russian version of Windows obtain information encoded OEM cp866. As a result of a string of CNetworkAdapter | m_csDescription incorrectly displayed. It is necessary to recode it in the UTF or cp1251 encoding, or to take the description of the network card from another source, such as a registry. At first I wanted to own up to the challenge. Visual Studio unfolded. I compiled from source your project. But I do not have sufficient knowledge of C++, and that they need to get a lot of time. I wanted to ask you if you think it's possible, and you have time to correct this deficiency, not associated with your program, and with the specific implementation of all the Russian versions of Windows. I watched it in Windows XP, Windows 7, Windows 8.1.
Sorry for my bad English. This Google translator.

Revision history for this message
Philippe BEAUMONT (kapouik) wrote :

The project OCS Inventory NG is now on Github => https://github.com/OCSInventory-NG

Launchpad is not used anymore

Changed in ocsinventory-windows-agent:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.