Remove an assertion that would cause the program to crash when some chars were lost in utf conversion, replaced by a warning