X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fi18n.h;h=c167e1f99b2ce63ebfd109494e08951b1ac17a9f;hb=90f346cc015bb89d28c93e35ba2e23d6671e14f2;hp=0633ebc82f807b9fb1d89429c3bf99fa9699930c;hpb=c13375ebe886fc3ed5ce70a260bb2b01cebb4b1f;p=pspp diff --git a/src/libpspp/i18n.h b/src/libpspp/i18n.h index 0633ebc82f..c167e1f99b 100644 --- a/src/libpspp/i18n.h +++ b/src/libpspp/i18n.h @@ -17,24 +17,18 @@ #ifndef I18N_H #define I18N_H -const char * get_pspp_locale (void); -void set_pspp_locale (const char *locale); -const char * get_pspp_charset (void); - void i18n_done (void); void i18n_init (void); -enum conv_id - { - CONV_PSPP_TO_UTF8, - CONV_SYSTEM_TO_PSPP, - CONV_UTF8_TO_PSPP, - n_CONV - }; +#define UTF8 "UTF-8" -char * recode_string (enum conv_id how, const char *text, int len); +char * recode_string (const char *to, const char *from, + const char *text, int len); +/* Return the decimal separator according to the + system locale */ +char get_system_decimal (void); #endif /* i18n.h */