I have a provider for pbis configuration (linux and ad integration) and a command for '/opt/pbis/bin/config':
commands :pbis_config => '/opt/pbis/bin/config'
which I use it like so:
output = pbis_config(setting, value)
Sometimes the command from pbis returns a string that has a unicode character inside (a "zero-width space"). If this happens an exception is thrown with the following message:
I tested the output of the command from the console and used perl to decode the strings:
The last 3 bytes are the unicode characters for zero-width space.
Full output of the command: