2003-03-06 Jeffrey Stedfast <fejj@ximian.com>
* gal/util/e-iconv.c: Alias gb-2312 to gb2312 also (since iconv
doesn't have "gb-2312"). I wonder if we should capitalise GB2312?
At least my iconv lists it in all caps (although I have the
benefit of having gnu iconv which is case insensitive so I dunno).
(e_strdown, e_strup): New functions to replace
g_ascii_str[down,up]: because the glib versions return a newly
allocated string buf and that is not what we want.
(e_iconv_charset_name): Use the new e_strdown.
(e_iconv_open): Save errno.
svn path=/trunk/; revision=20212