Skip to content

Encoding issue in jruby 9.0.0.0 #3267

@deivid-rodriguez

Description

@deivid-rodriguez

Hi!

My tests pass under MRI 2.2.3 but fail under jruby 9.0.0.0. This is the error I'm getting:

  1) Error:
AdminScenarioTest#test_scenarios_are_listed_in_the_index_page:
RegexpError: invalid multibyte character: /Període\ de\ retorn/
    test/support/admin.rb:34:in `assert_table_header'
    test/support/admin.rb:25:in `assert_table_col'
    test/admin/scenario_test.rb:22:in `test_scenarios_are_listed_in_the_index_page'

Adding magic utf-8 comments where the utf-8 string is defined does not help.

I'll try to post a proper reproduction if necessary, I just wanted to get feedback about it first in case this is a known issue.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions