wrong error code
unicode handling