Home
last modified time | relevance | path

Searched refs:currentEncoding (Results 1 – 1 of 1) sorted by relevance

/freebsd/usr.bin/calendar/
H A Devents.c42 static char *currentEncoding = NULL; variable
56 if (currentEncoding == NULL) { in set_new_encoding()
57 currentEncoding = strdup(newenc); in set_new_encoding()
58 if (currentEncoding == NULL) in set_new_encoding()
62 if (strcmp(currentEncoding, newenc) == 0) in set_new_encoding()
64 free(currentEncoding); in set_new_encoding()
65 currentEncoding = strdup(newenc); in set_new_encoding()
66 if (currentEncoding == NULL) in set_new_encoding()
85 if (currentEncoding == NULL) { in convert()
92 conv = iconv_open(outputEncoding, currentEncoding); in convert()