[Fusioninventory-commit] [fusinv/fusioninventory-agent] 25b45f: fix: force UTF-8 encoding on WMI output

Gonéri Le Bouder goneri at rulezlan.org
Tue Apr 10 11:48:20 UTC 2012


  Branch: refs/heads/2.2.x
  Home:   https://github.com/fusinv/fusioninventory-agent
  Commit: 25b45f9371a82e51f6fde53fb0a2879ba5902742
      https://github.com/fusinv/fusioninventory-agent/commit/25b45f9371a82e51f6fde53fb0a2879ba5902742
  Author: Gonéri Le Bouder <goneri at rulezlan.org>
  Date:   2012-04-10 (Tue, 10 Apr 2012)

  Changed paths:
    M lib/FusionInventory/Agent/Tools/Win32.pm

  Log Message:
  -----------
  fix: force UTF-8 encoding on WMI output

After upgrading Fusioninventory Agent to 2.2.0 there's a problem
with encoding in several fields with Russian version of Windows.

So it looks like:
Microsoft Windows 7 Ïðîôåññèîíàëüíàÿ

Instead of:
Microsoft Windows 7 Профессиональная

Same problem happens with hardware names.

Reported-by: akrus akrus <akrus at flygroup.st>





More information about the Fusioninventory-commit mailing list