From ba55c5fb15c9a5749e7df6d2aa135fe2bdc869b9 Mon Sep 17 00:00:00 2001 From: Alejandro Huertas Herrero Date: Tue, 10 Mar 2020 12:26:25 +0100 Subject: [PATCH] B #4329: use default encoding if not found (#4330) --- src/onedb/onedb_backend.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/onedb/onedb_backend.rb b/src/onedb/onedb_backend.rb index 3a4d0bcb86..ce89b8e9e0 100644 --- a/src/onedb/onedb_backend.rb +++ b/src/onedb/onedb_backend.rb @@ -375,7 +375,8 @@ class BackEndMySQL < OneDBBacKEnd when 'ascii' 'ASCII' else - 'NONE' + # if no encoding found, use the default one + NOKOGIRI_ENCODING end end