{"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","derived_content_hash":"d8a62bfd8bb582479471c8153836ec1070577c81f34771977a1939e4106f1dcf","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:6d1cdbd38a9e59703d8a7aa6ec212124aab3f40c421ca90b214286d4dcc84fa6","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"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"],"repair_provenance":{"original_source_revision":"2026-09-14T13:14:25.684213+00:00@99e6866c","receipt_sha256":"547659b32c89064531631fec84226c8d9c1acdb45d560a2745d3ae5ca967e826","repair":"wiki-repair-20261023"},"signature":"normalize ( text [, form ] ) → text","signature_count":1,"slug":"normalize","source_rev":"wiki-repair-20261023:6d1cdbd38a9e59703d8a7aa6ec212124aab3f40c421ca90b214286d4dcc84fa6","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":"wiki-repair-20261023:6d1cdbd38a9e59703d8a7aa6ec212124aab3f40c421ca90b214286d4dcc84fa6","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":"将字符串转换为指定的 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 时使用。","doc":{"anchor":"FUNCTIONS-STRING-SQL","file":"functions-string.html","sha256":"dbe9f91e55c35969d99a8d2697b6f7bd5388a24ccc2b89706a666f176025f1e2","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-string.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"dbe9f91e55c35969d99a8d2697b6f7bd5388a24ccc2b89706a666f176025f1e2","version":"18.7"},{"file":"functions-string.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"7eecd3bb343149124be0476a539f3c682476eab2a15489a0e0ad06fbb769ea9e","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"string","group_label":"字符串函数和操作符","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":"将字符串转换为指定的 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 时使用。","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":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-string.html","sha256":"0446377e0eccc9299099dc4b4b293204c337e3abefcdc396e9698bc54dd1080b"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-STRING-SQL","file":"functions-string.html","sha256":"dbe9f91e55c35969d99a8d2697b6f7bd5388a24ccc2b89706a666f176025f1e2","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"normalize","SourceDatabase":"center","Version":"18","Locale":"en","Title":"normalize","Summary":"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.","BodyHTML":"Converts the string to the specified Unicode normalization form. The optional \u003cem\u003e\u003ccode\u003eform\u003c/code\u003e\u003c/em\u003e key word specifies the form: \u003ccode\u003eNFC\u003c/code\u003e (the default), \u003ccode\u003eNFD\u003c/code\u003e, \u003ccode\u003eNFKC\u003c/code\u003e, or \u003ccode\u003eNFKD\u003c/code\u003e. This function can only be used when the server encoding is \u003ccode\u003eUTF8\u003c/code\u003e.","SourceRevision":"wiki-repair-20261023:6d1cdbd38a9e59703d8a7aa6ec212124aab3f40c421ca90b214286d4dcc84fa6","ContentHash":"22414ec9d9629bd3b7a3e207f8bc7415c939afb6587a7402f7a86671518ee976","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.","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":"将字符串转换为指定的 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 时使用。","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":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["13","14","15","16","17","18","19","20"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"fdb35c3f6d7c93e8d2655791d4100265f6dafca7fb3e43bed3561608feb57995","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":"将字符串转换为指定的 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 时使用。","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":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
