      file_params[:data] = process.object.encode!("Windows-1250")
This line causes this error:
Encoding::UndefinedConversionError (U+00E8 to WINDOWS-1250 in conversion from UTF-8 to WINDOWS-1250) There should be exactly 5 paragraphs separated by the markdown divider: ***.
user