fix unicode handling
exit on interrupt