Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/18/2024 06:56 PM
I am trying to register a Chinese region-specific character to a display name.
For example, the character "𤧟" is represented as an extended character with U+249DF.
Such characters are expressed as surrogate pairs and are represented using 4 bytes.
Please advise on how to register these characters to a display name.
*Reference*
Currently, the following regex is registered in "User Regex Validation":
`/[一-龠]+|[ぁ-ゔ]+|[一-龯]+|[ァ-ヴー]+|[a-zA-Z0-9]+|[a-zA-Z0-9]+|[々〆〤ヶ]+/u`
08/21/2024 07:26 AM
Hi @JPMac
Could you please provide more information about this use case. May be an example which can help us understand the requirements.
08/21/2024 05:24 PM
The use cases are described in the text, but for example, the following two kanji characters can be set in the Saviynt displayname:
Pattern A: 横
Pattern B: 𤧟
Pattern A can be registered in the displayname by using the following Regex.
(Regex : `/[一-龠]+|[ぁ-ゔ]+|[一-龯]+|[ァ-ヴー]+|[a-zA-Z0-9]+|[a-zA-Z0-9]+|[々〆〤ヶ]+/u`)
In the case of pattern B, an error occurs even if this Regex is used.
Pattern B characters are kanji using surrogate pairs, so it is necessary to be creative.
So, as a use-case, when I register a user with Saviynt, I get an error if the displayname contains a special Chinese character like pattern B.
08/26/2024 12:34 AM
Hello @JPMac,
The character "𤧟" that you're trying to import is a 4-byte character (UTF8MB4), which is not supported by our current Saviynt database, as it only supports 3-byte characters (UTF8).
We recommend raising a idea to support UTF8MB4 character .
Thanks.