RegexpError: too short multibyte code string for UTF8_NON_ASCII_REGEXP #1

Open
grosser opened this Issue Mar 13, 2011 · 2 comments

2 participants

@grosser

rubinius fails with this error (jruby too last time i tried) any ideas how to fix this ?

@tma
Owner

When does it fail? When loading the code? Does Rubinius fail to define this Regexp?

It's defined here: https://github.com/tma/html_helpers/blob/master/lib/htmlentities.rb#L73

@grosser

It fails when loading the htmlentities (in combination with our app), but on its own it runs fine, really strange, ill have to do more digging, maybe we have some global regex settings changed...

So far this is the only line that produces this bug (we got lots of plugin/gems that work fine) and if i remember correctly this same line was also a problem when running on jruby (ill try this again soon), so stay tuned :>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment