summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2020-05-14 17:58:43 +0200
committerRamón M. Gómez <ramongomez@us.es>2020-05-14 17:58:43 +0200
commit8c22cffe946d6be66965cacf6882d65091755b36 (patch)
tree250f46200a9d1b561f3915903e834b1058cf4d7b /client
parenta70996f723a9598c1d653bb615c0b32b263b20d5 (diff)
#941: Software inventory encoding to UTF-8.
Fix bug introduced by commit `930563c`due to the change of the database encoding.
Diffstat (limited to 'client')
-rwxr-xr-xclient/engine/Inventory.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/engine/Inventory.lib b/client/engine/Inventory.lib
index 820a45c9..a905f1bd 100755
--- a/client/engine/Inventory.lib
+++ b/client/engine/Inventory.lib
@@ -360,7 +360,7 @@ esac
# Mostrar sistema Operativo y aplicaciones.
ogGetOsVersion $1 $2 | awk -F: '{print $2}'
-sort $APPS | uniq
+sort $APPS | uniq | iconv -ct utf-8
rm -f $APPS $TMPFILE
}