|
From: | Zhaopeng Li |
Subject: | bug#19578: the code |
Date: | Tue, 13 Jan 2015 18:17:57 +0800 |
588 /* Resolve alias. */ 589 for (aliases = get_charset_aliases (); 590 *aliases != '\0'; 591 aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1) 592 if (strcmp (codeset, aliases) == 0 593 || (aliases[0] == '*' && aliases[1] == '\0')) 594 { 595 codeset = aliases + strlen (aliases) + 1; 596 break; 597 } 599 /* Don't return an empty string. GNU libc and GNU libiconv interpret 600 the empty string as denoting "the locale's character encoding", 601 thus GNU libiconv would call this function a second time. */ 602 if (codeset[0] == '\0') 603 codeset = "ASCII”; |
[Prev in Thread] | Current Thread | [Next in Thread] |