[Fusioninventory-commit] [fusinv/fusioninventory-agent] 240c60: better fix for "Wide character" error

Gonéri Le Bouder goneri at rulezlan.org
Tue May 22 11:48:16 UTC 2012


  Branch: refs/heads/2.2.x
  Home:   https://github.com/fusinv/fusioninventory-agent
  Commit: 240c607d38b747680364d3d86efd84b2f5110d77
      https://github.com/fusinv/fusioninventory-agent/commit/240c607d38b747680364d3d86efd84b2f5110d77
  Author: Gonéri Le Bouder <goneri at rulezlan.org>
  Date:   2012-05-22 (Tue, 22 May 2012)

  Changed paths:
    M lib/FusionInventory/Agent/HTTP/Client/OCS.pm
    M lib/FusionInventory/Agent/XML/Query.pm

  Log Message:
  -----------
  better fix for "Wide character" error

This patch replaces changes:
 commit:0de8c0e32539111fd5b470ef79e64f6b8d62c0f5
 commit:0e1c646270ae5faafdc7d59d94f6cb641d9b9c7b

We use encode("UTF-8", $string) to get an UTF-8 string without
the UTF8 flag. By doing so, Compress::Zlib is still able to do
utf8::downgrade() on the string.
Actually, we mimic the previous behavior.





More information about the Fusioninventory-commit mailing list