BS Development Skills 4: Processing of Chinese Parameters

zhaozj2021-02-16  64

Problem: In the BS development, sometimes or need to pass the variables between the form, at which time the CGI variable Query_String or Query_String_Decoded. However, in the default, the variable to be passed is Chinese, then query_string or query_string_decoded is garbled. How can I get the correct Chinese result?

Workaround: Set the server documentation. Edit Server Document -> Internet Protocol -> Domino Web Engine -> Character Set Mapping, Settings Use UTF-8 Output: "Yes". Restart the Domino server.

At this time, the correct Chinese result can be taken out by query_string_decoded.

转载请注明原文地址:https://www.9cbs.com/read-24809.html

New Post(0)