You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
If the
arg
string given toTask.new
is encoded as UTF-8 and contains chars such asåäö
, anEncoding::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 callingTask.new("test", arg)
fixes the problem.The text was updated successfully, but these errors were encountered: