Skip to content

Commit

Permalink
B #4329: use default encoding if not found (#4330)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro Huertas Herrero authored and Christian Gonz谩lez committed Mar 17, 2020
1 parent 905d68d commit 32b69d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/onedb/onedb_backend.rb
Expand Up @@ -375,7 +375,8 @@ def table_to_nk(enconding)
when 'ascii'
'ASCII'
else
'NONE'
# if no encoding found, use the default one
NOKOGIRI_ENCODING
end
end

Expand Down

0 comments on commit 32b69d8

Please sign in to comment.