Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RegexpError: too short multibyte code string for UTF8_NON_ASCII_REGEXP #1

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

Comments

@grosser
Copy link
Contributor

grosser commented Mar 13, 2011

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

@tma
Copy link
Owner

tma commented Mar 13, 2011

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
Copy link
Contributor Author

grosser commented Mar 14, 2011

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants