Conversion with encodings and monkey patch

The monkey patch gets rid of Exception raised when invoking `non_empty?`
with the `'.'.encode` method call