3e9744465d
Use it at level 4, a bit more restrictive than the default level, and tweak our commanding comments to FALLTHROUGH. (However, leave zic.c alone, since it's external code; to avoid the warnings that would appear there, change CFLAGS for that file in the Makefile.) Author: Julien Rouhaud <rjuju123@gmail.com> Author: Álvaro Herrera <alvherre@alvh.no-ip.org> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/20200412081825.qyo5vwwco3fv4gdo@nol Discussion: https://postgr.es/m/flat/E1fDenm-0000C8-IJ@gemulon.postgresql.org |
||
---|---|---|
.. | ||
Unicode | ||
conversion_procs | ||
Makefile | ||
README | ||
conv.c | ||
iso.c | ||
mbutils.c | ||
stringinfo_mb.c | ||
win866.c | ||
win1251.c | ||
wstrcmp.c | ||
wstrncmp.c |
README
src/backend/utils/mb/README Encodings ========= conv.c: static functions and a public table for code conversion mbutils.c: public functions for the backend only. stringinfo_mb.c: public backend-only multibyte-aware stringinfo functions wstrcmp.c: strcmp for mb wstrncmp.c: strncmp for mb win866.c: a tool to generate KOI8 <--> CP866 conversion table iso.c: a tool to generate KOI8 <--> ISO8859-5 conversion table win1251.c: a tool to generate KOI8 <--> CP1251 conversion table See also in src/common/: encnames.c: public functions for encoding names wchar.c: mostly static functions and a public table for mb string and multibyte conversion Introduction ------------ http://www.cprogramming.com/tutorial/unicode.html