Method: WinRM::WSMV::CommandOutputDecoder#decode
- Defined in:
- lib/winrm/wsmv/command_output_decoder.rb
#decode(raw_output) ⇒ String
Decode the raw SOAP output into decoded and human consumable text, Decodes and replaces invalid unicode characters.
25 26 27 28 29 30 |
# File 'lib/winrm/wsmv/command_output_decoder.rb', line 25 def decode(raw_output) decoded_text = decode_raw_output(raw_output) decoded_text = handle_invalid_encoding(decoded_text) decoded_text = remove_bom(decoded_text) decoded_text end |