This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "includes.h"
* @sa lib/iconv.c
*/
+char *unix_charset = NULL;
+char *dos_charset = NULL;
+char *display_charset = NULL;
+
/**
* Return the name of a charset to give to iconv().
**/
{
switch (ch) {
case CH_UTF16: return "UTF-16LE";
- case CH_UNIX: return lp_unix_charset();
- case CH_DOS: return lp_dos_charset();
- case CH_DISPLAY: return lp_display_charset();
+ case CH_UNIX: return unix_charset;
+ case CH_DOS: return dos_charset;
+ case CH_DISPLAY: return display_charset;
case CH_UTF8: return "UTF8";
case CH_UTF16BE: return "UTF-16BE";
default: