{"Entry":{"collection":"func","key":"normalize","name":"normalize","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"13"}],"content_hash":"e293cba3e8f5cf3b0a55fd8aa40f9e52d57d4926d080f73cd2fa052078cb80a2","first_version":"13","group":"string","group_label":"String Functions And Operators","groups":["string"],"imported_at":"2026-09-14T21:49:48.654219+08:00","last_version":"20","name":"normalize","name_key":"normalize","position":3018,"present_in":["13","14","15","16","17","18","19","20"],"signature":"normalize ( text [, form ] ) → text","signature_count":1,"slug":"normalize","source_rev":"2026-09-14T13:14:25.684213+00:00@99e6866c","summary":"Converts the string to the specified Unicode normalization form.","summary_zh":""}},"Definition":{"Collection":"func","Key":"normalize","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"normalize","SourceRevision":"2026-09-14T13:14:25.684213+00:00@99e6866c","Facts":{"description":"Converts the string to the specified Unicode normalization form. The optional form key word specifies the form: NFC (the default), NFD, NFKC, or NFKD. This function can only be used when the server encoding is UTF8.","description_html":"Converts the string to the specified Unicode normalization form. The optional \u003cem class=\"parameter\"\u003e\u003ccode\u003eform\u003c/code\u003e\u003c/em\u003e key word specifies the form: \u003ccode class=\"literal\"\u003eNFC\u003c/code\u003e (the default), \u003ccode class=\"literal\"\u003eNFD\u003c/code\u003e, \u003ccode class=\"literal\"\u003eNFKC\u003c/code\u003e, or \u003ccode class=\"literal\"\u003eNFKD\u003c/code\u003e. This function can only be used when the server encoding is \u003ccode class=\"literal\"\u003eUTF8\u003c/code\u003e.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-STRING-SQL","file":"functions-string.html","slug":"18"},"group":"string","group_label":"String Functions And Operators","lang":"en","layout":"table-new","pages":["functions-string.html"],"prose_only":false,"signatures":[{"description":"Converts the string to the specified Unicode normalization form. The optional form key word specifies the form: NFC (the default), NFD, NFKC, or NFKD. This function can only be used when the server encoding is UTF8.","description_html":"Converts the string to the specified Unicode normalization form. The optional \u003cem class=\"parameter\"\u003e\u003ccode\u003eform\u003c/code\u003e\u003c/em\u003e key word specifies the form: \u003ccode class=\"literal\"\u003eNFC\u003c/code\u003e (the default), \u003ccode class=\"literal\"\u003eNFD\u003c/code\u003e, \u003ccode class=\"literal\"\u003eNFKC\u003c/code\u003e, or \u003ccode class=\"literal\"\u003eNFKD\u003c/code\u003e. This function can only be used when the server encoding is \u003ccode class=\"literal\"\u003eUTF8\u003c/code\u003e.","description_zh":"","description_zh_html":"","examples":[{"expr":"normalize(U\u0026'\\0061\\0308bc', NFC)","result":"U\u0026'\\00E4bc'"}],"html":"\u003ccode class=\"function\"\u003enormalize\u003c/code\u003e ( \u003ccode class=\"type\"\u003etext\u003c/code\u003e [\u003cspan class=\"optional\"\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eform\u003c/code\u003e\u003c/em\u003e\u003c/span\u003e ] ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"normalize ( text [, form ] ) → text","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-STRING-SQL","file":"functions-string.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"normalize","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"normalize","Summary":"将字符串转换为指定的 Unicode 规范化形式。可选的 form 关键字指定如下形式：NFC（默认值）、NFD、NFKC 或 NFKD。该函数只能在服务器编码为 UTF8 时使用。","BodyHTML":"将字符串转换为指定的 Unicode 规范化形式。可选的 \u003cem\u003e\u003ccode\u003eform\u003c/code\u003e\u003c/em\u003e 关键字指定如下形式：\u003ccode\u003eNFC\u003c/code\u003e（默认值）、\u003ccode\u003eNFD\u003c/code\u003e、\u003ccode\u003eNFKC\u003c/code\u003e 或 \u003ccode\u003eNFKD\u003c/code\u003e。该函数只能在服务器编码为 \u003ccode\u003eUTF8\u003c/code\u003e 时使用。\u003cpre\u003enormalize ( text [, form ] ) → text\u003c/pre\u003e将字符串转换为指定的 Unicode 规范化形式。可选的 \u003cem\u003e\u003ccode\u003eform\u003c/code\u003e\u003c/em\u003e 关键字指定如下形式：\u003ccode\u003eNFC\u003c/code\u003e（默认值）、\u003ccode\u003eNFD\u003c/code\u003e、\u003ccode\u003eNFKC\u003c/code\u003e 或 \u003ccode\u003eNFKD\u003c/code\u003e。该函数只能在服务器编码为 \u003ccode\u003eUTF8\u003c/code\u003e 时使用。","SourceRevision":"1b5ca64c","ContentHash":"683f05e5fbe70d128d9502e3426b15c65cc2f19e6b9a4ca52f04f4cae8adb700","Payload":{"description_zh":"将字符串转换为指定的 Unicode 规范化形式。可选的 form 关键字指定如下形式：NFC（默认值）、NFD、NFKC 或 NFKD。该函数只能在服务器编码为 UTF8 时使用。","description_zh_html":"将字符串转换为指定的 Unicode 规范化形式。可选的 \u003cem class=\"parameter\"\u003e\u003ccode\u003eform\u003c/code\u003e\u003c/em\u003e 关键字指定如下形式：\u003ccode class=\"literal\"\u003eNFC\u003c/code\u003e（默认值）、\u003ccode class=\"literal\"\u003eNFD\u003c/code\u003e、\u003ccode class=\"literal\"\u003eNFKC\u003c/code\u003e 或 \u003ccode class=\"literal\"\u003eNFKD\u003c/code\u003e。该函数只能在服务器编码为 \u003ccode class=\"literal\"\u003eUTF8\u003c/code\u003e 时使用。","signatures":[{"description_zh":"将字符串转换为指定的 Unicode 规范化形式。可选的 form 关键字指定如下形式：NFC（默认值）、NFD、NFKC 或 NFKD。该函数只能在服务器编码为 UTF8 时使用。","description_zh_html":"将字符串转换为指定的 Unicode 规范化形式。可选的 \u003cem class=\"parameter\"\u003e\u003ccode\u003eform\u003c/code\u003e\u003c/em\u003e 关键字指定如下形式：\u003ccode class=\"literal\"\u003eNFC\u003c/code\u003e（默认值）、\u003ccode class=\"literal\"\u003eNFD\u003c/code\u003e、\u003ccode class=\"literal\"\u003eNFKC\u003c/code\u003e 或 \u003ccode class=\"literal\"\u003eNFKD\u003c/code\u003e。该函数只能在服务器编码为 \u003ccode class=\"literal\"\u003eUTF8\u003c/code\u003e 时使用。","returns":"text","text":"normalize ( text [, form ] ) → text","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["13","14","15","16","17","18","19","20"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"ad3acc022fc12ed66d4f1dc77a6ef1b00c116902ee3ef367374f3940e0f80fcf","Text":"normalize ( text [, form ] ) → text","Returns":"text","Payload":{"description":"Converts the string to the specified Unicode normalization form. The optional form key word specifies the form: NFC (the default), NFD, NFKC, or NFKD. This function can only be used when the server encoding is UTF8.","description_html":"Converts the string to the specified Unicode normalization form. The optional \u003cem class=\"parameter\"\u003e\u003ccode\u003eform\u003c/code\u003e\u003c/em\u003e key word specifies the form: \u003ccode class=\"literal\"\u003eNFC\u003c/code\u003e (the default), \u003ccode class=\"literal\"\u003eNFD\u003c/code\u003e, \u003ccode class=\"literal\"\u003eNFKC\u003c/code\u003e, or \u003ccode class=\"literal\"\u003eNFKD\u003c/code\u003e. This function can only be used when the server encoding is \u003ccode class=\"literal\"\u003eUTF8\u003c/code\u003e.","description_zh":"","description_zh_html":"","examples":[{"expr":"normalize(U\u0026'\\0061\\0308bc', NFC)","result":"U\u0026'\\00E4bc'"}],"html":"\u003ccode class=\"function\"\u003enormalize\u003c/code\u003e ( \u003ccode class=\"type\"\u003etext\u003c/code\u003e [\u003cspan class=\"optional\"\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eform\u003c/code\u003e\u003c/em\u003e\u003c/span\u003e ] ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"normalize ( text [, form ] ) → text","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
