added checking printable for char/char*