[Fusioninventory-devel] Check for non UTF8 chars
Mario Gzuk
mariogzuk at technikz.de
Wed Oct 6 18:38:34 UTC 2010
Hi,
one problem with the following software entry:
<SOFTWARES>
<FROM>registry</FROM>
<GUID>{40A594D0-1490-4979-9382-D2B764F949C6}</GUID>
<INSTALLDATE>07/04/2010</INSTALLDATE>
<IS64BIT>0</IS64BIT>
<NAME>BlackBerry® Media Sync</NAME>
<PUBLISHER>Research In Motion</PUBLISHER>
<UNINSTALL_STRING>MsiExec.exe
/X{40A594D0-1490-4979-9382-D2B764F949C6}</UNINSTALL_STRING>
<VERSION>3.0.0.394 at Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\</VERSION>
<VERSION_MAJOR>3</VERSION_MAJOR>
<VERSION_MINOR>0</VERSION_MINOR>
</SOFTWARES>
There is an non UTF-8 char in the version string. Following the xml
charset this should not be happen if the agent sends its data, or what
you think about that? I doesnt test this with the FusionInventory Server
library, but xml functions from php like:
simplexml_load_string()
xml_parse_into_struct()
fail with this char... Can the validate to UTF-8 be done by the client?
Or should it be checked on the server side? What do u think?
Cheers and thank you!
Mario
More information about the Fusioninventory-devel
mailing list