/* Recode strings between character sets, using iconv.
- Copyright (C) 2004-2005, 2009-2012 Free Software Foundation, Inc.
+ Copyright (C) 2004-2005, 2009-2013 Free Software Foundation, Inc.
Written by Simon Josefsson.
This program is free software: you can redistribute it and/or modify
from[strlen (from) - 1] = '\0';
}
- printf (" Input string: `%s'\n"
- "From code set: `%s'\n"
- " To code set: `%s'\n",
+ printf (" Input string: '%s'\n"
+ "From code set: '%s'\n"
+ " To code set: '%s'\n",
in, from, to);
out = iconv_string (in, from, to);
perror ("iconv");
else
{
- printf ("\nOutput: `%s'\n", out);
+ printf ("\nOutput: '%s'\n", out);
free (out);
}