i18n: Introduce C_ENCODING as replacement for LEGACY_NATIVE.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 13 Feb 2011 19:49:30 +0000 (11:49 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 20 Feb 2011 00:57:01 +0000 (16:57 -0800)
commitbc19562deb692e6db3271eb0402e9f9c99e4cbcb
tree3a0279f01e43ece75123fd99691b9fa2e98068ca
parent28bebf0851bac332b55cdc03e55165dcc8e713c2
i18n: Introduce C_ENCODING as replacement for LEGACY_NATIVE.

The LEGACY_NATIVE name seems a bit awkward for something that is just the
name of the encoding for strings in C source code, that is, the C locale,
so this commit renames it to C_ENCODING and moves it to i18n.h with the
rest of the encoding-related functions.

In addition, PSPP assumes in various places that the local system has
ASCII-based locales.  I don't think there's much point in pretending to
support EBCDIC, so this commit removes that little bit of support.
14 files changed:
src/data/data-in.c
src/data/data-out.c
src/data/file-handle-def.c
src/language/data-io/print.c
src/language/expressions/helpers.h
src/language/expressions/operations.def
src/language/lexer/value-parser.c
src/language/xforms/recode.c
src/libpspp/i18n.h
src/libpspp/legacy-encoding.c
src/libpspp/legacy-encoding.h
src/output/tab.c
src/ui/gui/text-data-import-dialog.c
src/ui/syntax-gen.c