;;; emacs-coding-system-postgresql-client-encoding.alist ;;; Version: 1 ;; Copyright (C) 2006 Thien-Thi Nguyen ;; ;; This file is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation; either version 2 of the License, or ;; (at your option) any later version. ;; ;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License ;; along with this file; if not, write to the Free Software Foundation, ;; Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ;;; Commentary: ;; This alist is to help programs map an Emacs' coding system to a PostgreSQL ;; client encoding, suitable for composing a "SET client_encoding" SQL command ;; (presuming the architecture is Emacs : PostgreSQL :: client : server). ;; ;; Each CAR is a symbol, a GNU Emacs (22.0.50.x) coding system. ;; Each CDR is a string, a PostgreSQL (7.4.12) client encoding. ;; ;; The coding systems are unique, whereas the client encodings may be the ;; string "?" (unknown) or the empty string (unsupported). The version ;; numbers are parenthesized to give a hint of the data's origin; YMMV. ;; ;; This alist was manually compiled by looking at `M-x list-coding-systems' ;; (Emacs) and section 20.2 Character Set Support (PostgreSQL documentation). ;;; Code: ((chinese-big5 . "BIG5") (chinese-hz . "?") (chinese-iso-8bit . "EUC_CN") (chinese-iso-8bit-with-esc . "?") (compound-text . "") (compound-text-with-extensions . "") (cp1125 . "") (cp1250 . "WIN1250") (cp1253 . "") (cp1254 . "") (cp1255 . "") (cp1256 . "WIN1256") (cp1257 . "?") (cp1258 . "TCVN") (cp437 . "") (cp720 . "") (cp737 . "") (cp775 . "") (cp850 . "") (cp851 . "") (cp852 . "") (cp855 . "") (cp857 . "") (cp860 . "") (cp861 . "") (cp862 . "") (cp863 . "") (cp864 . "") (cp865 . "") (cp866 . "ALT") (cp869 . "") (cp874 . "WIN874") (ctext-no-compositions . "") (cyrillic-alternativnyj . "") (cyrillic-iso-8bit . "ISO_8859_5") (cyrillic-iso-8bit-with-esc . "?") (cyrillic-koi8 . "KOI8") (emacs-mule . "MULE_INTERNAL") (euc-tw . "EUC_TW") (georgian-ps . "") (greek-iso-8bit . "ISO_8859_7") (greek-iso-8bit-with-esc . "?") (hebrew-iso-8bit . "ISO_8859_8") (hebrew-iso-8bit-with-esc . "?") (in-is13194 . "") (in-is13194-with-esc . "") (iso-2022-7bit . "") (iso-2022-7bit-lock . "") (iso-2022-7bit-lock-ss2 . "") (iso-2022-7bit-ss2 . "") (iso-2022-8bit-ss2 . "") (iso-2022-cn . "") (iso-2022-cn-ext . "") (iso-2022-jp . "") (iso-2022-jp-2 . "") (iso-2022-kr . "") (iso-8859-10 . "LATIN6") (iso-8859-11 . "") (iso-8859-13 . "LATIN7") (iso-8859-16 . "LATIN10") (iso-8859-6 . "ISO_8859_6") (iso-latin-1 . "LATIN1") (iso-latin-1-with-esc . "?") (iso-latin-2 . "LATIN2") (iso-latin-2-with-esc . "?") (iso-latin-3 . "LATIN3") (iso-latin-3-with-esc . "?") (iso-latin-4 . "LATIN4") (iso-latin-4-with-esc . "?") (iso-latin-5 . "ISO_8859_5") (iso-latin-5-with-esc . "?") (iso-latin-8 . "ISO_8859_8") (iso-latin-8-with-esc . "?") (iso-latin-9 . "LATIN5") (iso-latin-9-with-esc . "?") (iso-safe . "SQL_ASCII") (japanese-iso-7bit-1978-irv . "") (japanese-iso-8bit . "EUC_JP") (japanese-iso-8bit-with-esc . "?") (japanese-shift-jis . "SJIS") (koi8-t . "") (koi8-u . "") (korean-iso-8bit . "EUC_KR") (korean-iso-8bit-with-esc . "?") (lao . "") (lao-with-esc . "") (mac-roman . "") (mik . "") (mule-utf-16 . "?") (mule-utf-16be . "?") (mule-utf-16be-with-signature . "?") (mule-utf-16le . "?") (mule-utf-16le-with-signature . "?") (mule-utf-8 . "?") (next . "") (no-conversion . "?") (pt154 . "") (raw-text . "") (thai-tis620 . "") (thai-tis620-with-esc . "") (tibetan-iso-8bit . "") (tibetan-iso-8bit-with-esc . "") (undecided . "") (utf-7 . "") (vietnamese-tcvn . "TCVN") (vietnamese-viqr . "") (vietnamese-viscii . "") (vietnamese-vscii . "") (windows-1250 . "WIN1250") (windows-1251 . "WIN") (windows-1252 . "") (windows-1253 . "") (windows-1254 . "") (windows-1255 . "") (windows-1256 . "WIN1256") (windows-1257 . "") (windows-1258 . "TCVN")) ;;; emacs-coding-system-postgresql-client-encoding.alist ends here