Lines Matching refs:codeset
765 char *codeset;
767 /* get the codeset (character set encoding) currently used */
770 codeset = nl_langinfo(CODESET);
773 codeset = setlocale(LC_CTYPE, NULL);
774 if (codeset != NULL) {
775 /* extract the codeset portion of the locale name */
776 codeset = strchr(codeset, '.');
777 if (codeset != NULL) ++codeset;
780 /* is the current codeset UTF-8 ? */
781 if ((codeset != NULL) && (strcmp(codeset, "UTF-8") == 0)) {
785 /* Current codeset is not UTF-8 or cannot be determined. */
788 /* Note: At least for UnZip, trying to change the process codeset to