i18n: Introduce C_ENCODING as replacement for LEGACY_NATIVE.
[pspp-builds.git] / src / libpspp / i18n.h
index 37bd94406564e13a9282a8fd4d8e76a5e319a3bf..e016eab4a557437f343acb6a8fae5dccfab275f8 100644 (file)
@@ -24,8 +24,15 @@ void  i18n_init (void);
 
 #define UTF8 "UTF-8"
 
+/* The encoding of literal strings in PSPP source code, as seen at execution
+   time.  In fact this is likely to be some extended ASCII encoding, such as
+   UTF-8 or ISO-8859-1, but ASCII is adequate for our purposes. */
+#define C_ENCODING "ASCII"
+
 struct pool;
 
+char recode_byte (const char *to, const char *from, char);
+
 char *recode_string (const char *to, const char *from,
                      const char *text, int len);
 char *recode_string_pool (const char *to, const char *from,