Solution Proposal

Hi RubyMine Team,
this contains 2 solutions to get the test passt.
However: My Ubuntu ruby 2.1.2p95 is already failing while calling the test. This is because the convertion of '.'.encode(enc) from UTF-8 to X encoding in method test_non_empty_string is already failing and not my "non_empty?" methods. I excluded the encodings that break already within test_non_empty_string.
Have a nice Summer!
Thomas