This gem will helps you identify lines and characters of the text which are invalid for particular encoding
None
Pavel Forkert