proper unicode handling for debug