command_executor should also support unicode strings as well.

Fixes Issue #7214