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
Created by Guest
Created on Sep 20, 2018

Character encoding problems when posting to agent

Character encoding problems when posting to script agent, e.g. posting Danish characters like ÆØÅ

 

If I POST this JSON to a script agent

{

                             subject:"ÆØÅ"

}

 

Session.DocumentContext.REQUEST_CONTENT contains

{

subject:"ÆØÅ"

}

 

This isn’t very useful

 

Please do some basic character decoding or include charset support

  • Attach files
  • Guest
    Reply
    |
    May 7, 2021

    Did a PMR: Case CS0218469
    "This use case is not supported, http post data is written in RAW form into the post data fields in the agent context note when running the agent, the data is not converted to LMBCS. Since the data is not in LMBCS the client and any other application notes application will not render the data correctly. Since the post data fields are text fields the lotus script agent will read the data as lmbcs when it is not lmbcs.

    This is day 1 behavior of Domino going back to version 4.6 and cannot be change because it would break many legacy agents. Recommended the customer encode the post data with base64 encoding the post data and have the agent convert decode/convert to lmbcs"

    Conclusion: YOu can 't build a standard REST / CRUD interface woth LotusScript in Domino. This is very disappointing

  • Admin
    Thomas Hampel
    Reply
    |
    Jan 10, 2020

    Moving this idea to product : Domino

  • Guest
    Reply
    |
    Oct 29, 2018

    This is not a Domino Designer issue.

    It is the HTTP server that is parsing the POST request.

  • Admin
    Thomas Hampel
    Reply
    |
    Oct 27, 2018

    Moving this idea to product : Domino Designer

  • Guest
    Reply
    |
    Sep 24, 2018

    Domino fails even if an explicit HTTP request header is set on the POST request: Content-Type: application/json; charset=utf-8.

    This is unacceptable. UTF-8 is the default character set for JSON.

  • Guest
    Reply
    |
    Sep 23, 2018

    Nope. Do not think I can? I am an independent consultant (not a partner or customer)

  • Admin
    Thomas Hampel
    Reply
    |
    Sep 23, 2018

    Did you open a PMR for this problem?