Better handling of strings that failed encoding.
authorbarbieri <barbieri@gmail.com>
Tue, 29 Jan 2008 22:08:12 +0000 (22:08 +0000)
committerbarbieri <barbieri@gmail.com>
Tue, 29 Jan 2008 22:08:12 +0000 (22:08 +0000)
commit81346b89f7862b21a7d472be0a394a2e81973098
treedc2dfebf3ab309ee967af49a2f5db6dc42082c53
parent4faa8ba10bd736a5e91e3c101c607decf2c40516
Better handling of strings that failed encoding.

Instead of just memset() the whole string to '?', just replace chars
that are not printable (according to ctypes.h isprint()).
lightmediascanner/src/lib/lightmediascanner_charset_conv.c