unidecode
pg_unidecode · ASCII transliterations of Unicode text
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 100468 | unidecode | pg_unidecode | 0.0.6 | FTS | Unknown | C |
PostgreSQL · 10, 11, 12, 13, 14, 15, 16, 17, 18
Usage
Sources:
unidecode transliterates Unicode text into an approximate ASCII representation using tables derived from the Python Unidecode project.
Transliteration is lossy, language-agnostic, and not reversible. Multiple source strings can map to the same ASCII output, culturally preferred spellings can differ, and results can change when tables change. Never use it alone for identity, uniqueness, authentication, legal names, or security canonicalization; preserve the original text and enforce identifiers independently.
Upstream explicitly describes the C code as early development and says not to use it in production. Version 0.0.6 has no current compatibility or memory-safety statement. Prefer maintained application libraries. If used for search hints in a legacy database, pin the exact tables, test every supported script and malformed UTF-8 boundary, bound input length, and rebuild generated columns and indexes after any upgrade.