incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string) #361
This commit is contained in:
parent
0f15563421
commit
e1221a6fbd
@ -386,7 +386,7 @@ class DmsfFile < ActiveRecord::Base
|
||||
end
|
||||
|
||||
if (allowed && project_included)
|
||||
dmsf_file.event_description = dochash['sample']
|
||||
dmsf_file.event_description = dochash['sample'].force_encoding('UTF-8') if dochash['sample']
|
||||
results.push(dmsf_file)
|
||||
results_count += 1
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user