postgresql/src/backend/utils/mb
Tom Lane 0245f8db36 Pre-beta mechanical code beautification.
Run pgindent, pgperltidy, and reformat-dat-files.

This set of diffs is a bit larger than typical.  We've updated to
pg_bsd_indent 2.1.2, which properly indents variable declarations that
have multi-line initialization expressions (the continuation lines are
now indented one tab stop).  We've also updated to perltidy version
20230309 and changed some of its settings, which reduces its desire to
add whitespace to lines to make assignments etc. line up.  Going
forward, that should make for fewer random-seeming changes to existing
code.

Discussion: https://postgr.es/m/20230428092545.qfb3y5wcu4cm75ur@alvherre.pgsql
2023-05-19 17:24:48 -04:00
..
Unicode Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
conversion_procs Update copyright for 2023 2023-01-02 15:00:37 -05:00
Makefile Move wchar.c and encnames.c to src/common/. 2020-01-16 15:58:55 -05:00
README Move wchar.c and encnames.c to src/common/. 2020-01-16 15:58:55 -05:00
conv.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
iso.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
mbutils.c Fix typos in comments 2023-05-02 12:23:08 +09:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00
stringinfo_mb.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
win866.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
win1251.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
wstrcmp.c pgindent run for 9.4 2014-05-06 12:12:18 -04:00
wstrncmp.c pgindent run for 9.4 2014-05-06 12:12:18 -04:00

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