projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sys-file-info: Add IBM850 and DIN_66003 encodings.
[pspp]
/
src
/
language
/
dictionary
/
sys-file-info.c
diff --git
a/src/language/dictionary/sys-file-info.c
b/src/language/dictionary/sys-file-info.c
index 722b512cd78859902f68119129336dfbcb49cb26..f96fa167a5b98b6f9f6df393655e7663ee9d2aed 100644
(file)
--- a/
src/language/dictionary/sys-file-info.c
+++ b/
src/language/dictionary/sys-file-info.c
@@
-764,10
+764,10
@@
display_vectors (const struct dictionary *dict, int sorted)
\f
/* Encoding analysis. */
\f
/* Encoding analysis. */
-/* This list of encodings is taken from http://encoding.spec.whatwg.org/, as
- retrieved February 2014. Encodings not supported by glibc and encodings
- relevant only to HTML have been removed. */
static const char *encoding_names[] = {
static const char *encoding_names[] = {
+ /* These encodings are from http://encoding.spec.whatwg.org/, as retrieved
+ February 2014. Encodings not supported by glibc and encodings relevant
+ only to HTML have been removed. */
"utf-8",
"windows-1252",
"iso-8859-2",
"utf-8",
"windows-1252",
"iso-8859-2",
@@
-800,6
+800,10
@@
static const char *encoding_names[] = {
"iso-2022-jp",
"shift_jis",
"euc-kr",
"iso-2022-jp",
"shift_jis",
"euc-kr",
+
+ /* Added by user request. */
+ "ibm850",
+ "din_66003",
};
#define N_ENCODING_NAMES (sizeof encoding_names / sizeof *encoding_names)
};
#define N_ENCODING_NAMES (sizeof encoding_names / sizeof *encoding_names)