#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <i18n.h>
#include <langinfo.h>
#include <libintl.h>
Go to the source code of this file.
Data Structures | |
struct | TestCase |
Functions | |
static int | my_streq (const char *va, const char *vb) |
static int | check (const int i) |
static int | checks () |
int | main (int argc, char *argv[]) |
Variables | |
const TestCase | testcases [] |
static int check | ( | const int | i | ) | [static] |
Definition at line 71 of file test-codeset.c.
References bind_textdomain_codeset, gettext, TestCase::latin1, my_streq(), TestCase::orig, textdomain, and TestCase::utf8.
Referenced by checks().
static int checks | ( | ) | [static] |
Definition at line 133 of file test-codeset.c.
References bindtextdomain, check(), and TestCase::locale.
Referenced by main().
int main | ( | int | argc, | |
char * | argv[] | |||
) |
static int my_streq | ( | const char * | va, | |
const char * | vb | |||
) | [static] |
Initial value:
{ { "de_DE", N_("High saturation"), "Hohe S\344ttigung", "Hohe S\303\244ttigung" }, { "fr_FR", N_("Not defined"), "Non d\233fini", "Non d\303\251fini" }, { "es_ES", N_("High saturation"), "Alta saturaci\363n", "Alta saturaci\303\263n" }, { NULL, NULL, NULL, NULL } }
Definition at line 46 of file test-codeset.c.