Chinese problem under R6 bottoming solution

xiaoxiao2021-03-06  42

I) In R6 Query_String_Decoded, the Chinese characters received are garbled, rather than the Chinese decoded in R5, but becomes a messy code, I don't know if R6 bug? Fortunately, R6 added @urldecode formula If it is worse, solve the method of query_stringdecoded as follows: 1) Use query_string to receive parameters, then Chinese characters are encoded

Use @urldecode ("Domino"; query_string) in another domain to get the correct Chinese parameter after decoding

2) In order to ensure synchronization with Query_StringDecoded in R5, it is to use formulas for compatible procedures.

@Setfield ("Query_String_Decoded"; @ Urldecode ("Domino"; query_string) Reset to

Query_stringDecoded This does not have to modify the agent in the old program.

2) About Chinese words displayed in a web page, especially the JS file of the outer chain, if there is Chinese, there is a "string unless end", the solution is as follows: Open Administrator Enter the Formula -> Domino Web engine can be formulated

Language Default string resource language: Chinese (Simplified) Additional string resource languages: Character Set Use UTF-8 for output: NoUse UTF-8 for HTML forms: No Default character set group: Simplified ChineseWestern: ISO-8859-1Central European: Windows- 1250Japanese: SJISTraditional Chinese: Big5Simplified Chinese: GB2312Korean: KSC5601 (EUC) Cyrillic: KOI8-RGreek: Windows-1253Turkish: Windows-1254Thai: TIS-620Baltic: Windows-1257Arabic: Windows-1256Hebrew: ISO-8859-8iVietnamese: Windows-1258Indic: UTF-8USE Auto-Detection IF Database Has No Language Information: No Character Set in Header: Enabledmeta Character Set: Enabled

3) About getDocumentByKey () uses Chinese parameters is unable to get a solution

In R6, you can find that in Chinese when using a getDocumentbyKey () method, you can not get the document solution as follows:

Open the database properties, select the language of the database as Chinese Simplified At this time, you can see that Domino's console will rebuild all views with EN-CN, and then run GetDocumentByKey is no problem.

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

New Post(0)