tma / html_helpers

Rails Plugin with Helpers to en- and decode HTML Entities
Other
12 stars 5 forks source link

RegexpError: too short multibyte code string for UTF8_NON_ASCII_REGEXP #1

Open grosser opened 13 years ago

grosser commented 13 years ago

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

tma commented 13 years ago

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 commented 13 years ago

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 :>