[telnet] ruby 1.8 friendly non-ascii detection (simple)