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
I'm forced to use ASCII-8BIT as internal and external encoding in my application. When I try to parse an URI, I get an error:
U+00E9 from UTF-8 to ASCII-8BIT lib/public_suffix/list.rb:79
def self.default_definition
File.open(DEFAULT_DEFINITION_PATH, "r:utf-8") { |f| f.read }
end
When I remove the utf-8 file encoding from File.open, the parsing seems to work as intended. Is the forced UTF-8 encoding needed? I did not find an Umlaut TLD in the definitions file.
The text was updated successfully, but these errors were encountered:
I'm forced to use
ASCII-8BIT
as internal and external encoding in my application. When I try to parse an URI, I get an error:U+00E9 from UTF-8 to ASCII-8BIT lib/public_suffix/list.rb:79
When I remove the utf-8 file encoding from File.open, the parsing seems to work as intended. Is the forced UTF-8 encoding needed? I did not find an Umlaut TLD in the definitions file.
The text was updated successfully, but these errors were encountered: