Hi Brian,

Thanks for your inputs.

I tried the way you mentioned :

issueCommandInKazBox($node1, "add user  role
admin".force_encoding("ASCII-8BIT"), "")

And it worked :)

I still surprise why it is not working when i use utg8 instead of ascii-8bit
i.e.

issueCommandInKazBox($node1, "add user  role
admin".force_encoding("UTF-8"), "")

Thanks for your input again.

Bhavesh