Bug #564: Regexp fails on UTF-16 & UTF-32 character encodings
http://redmine.ruby-lang.org/issues/show/564

Author: Michael Selig
Status: Open, Priority: Normal

UTF-16 & UTF-32 (and maybe other non-ascii compatible encodings) don't seem to be work as Regexp patterns.

Regexp.new("abc".encode("UTF-16BE"))
==> EncodingCompatibilityError: incompatible character encodings: US-ASCII and UTF-16BE


----------------------------------------
http://redmine.ruby-lang.org