Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Status Under Consideration
Workspace Domino
Categories Integration
Created by Guest
Created on Apr 26, 2021

decoding the POST data obtained with a CGI variable

When you post UTF-8 encoded data to Domino HTTP, if you get it using the Request_Content variable and save it, garbled characters will occur.

For example,to avoid this, you have to convert it to a file using NotesStream.

Set stream = session.createStream

Call"C:\\Temp\\test.txt", "LMBCS")

Call stream.writeText(doc.getItemValue("REQUEST_CONTENT")(0))

Call stream.close

Call"C:\\Temp\\test.txt", "UTF-8")

Content = stream.readText

doc1.Body = Content

Call, True)

Call stream.Truncate

Call stream.close

I want a way to get REQUEST_CONTENT with the character code specified by content-type.

  • Attach files