Fixed issue to encode control characters.