toolbox: Fix string encoding