alexey-chebotar/ruby-ldap — pull request #18 by afbroman (2013-06-05 15:03:54+00:00)
Title: Prevent SyntaxError raised under Ruby 2.0.0 by line 107 regex

Under Ruby 2.0.0, one of the regexes on line 107 (/[\x00-\x1f\x7f-\xff]/) is raising a SyntaxError: invalid multibyte escape.

Resolve issue by explicitly setting the encoding to ASCII.