Skip to content

UTF-8 encoded string in Task throwing exception #17

@roback

Description

@roback

If the arg string given to Task.new is encoded as UTF-8 and contains chars such as åäö, an
Encoding::CompatibilityError Incompatible character encodings: UTF-8 and ASCII-8BIT is thrown on line 217.

Calling .force_encoding(Encoding::ASCII_8BIT) on the arg string before calling Task.new("test", arg) fixes the problem.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions