fix the non_empty? method to use encoding-specific regexps  (note that the original test cannot use UTF-7 on my ruby)