I'm connecting to a remote IOS device and issue-ing remote commands on the device. Sometimes I'm seeing the following strange characters in my command returns: \r\u0000\r\n It is causing problems with my string and regex handling so I was wondering if there is a recommended way of handling this. Should I just convert the string return before copying and saving it? Is there a good module or standard approach for handling these unicode characters. Thank you for any advice in advance.