/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2011 Index Data
+ * Copyright (C) 1995-2012 Index Data
* See the file LICENSE for details.
*/
/**
char *from_set1 = 0;
char *from_set2 = 0;
char *to_set = 0;
- if (record_charset)
+ if (record_charset && *record_charset)
{
char *cp = charset_buf;