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 was wondering if there's a good fix in this library itself.
I'm happy to make it if someone can point me in the right direction, but it seems like this library uses ASCII intentionally (based on the encodings at the top of the files I saw)
I was able to change this line to fix the issue but it seems like the broader issue is that strings are in ASCII.
history_file.puts line.encode('UTF-8', invalid: :replace, undef: :replace, replace: '?') if history_file
Reproduce: Open Pry and use this string: '’ this will break pry!'
The text was updated successfully, but these errors were encountered:
I'm coming from here.
I was wondering if there's a good fix in this library itself.
I'm happy to make it if someone can point me in the right direction, but it seems like this library uses ASCII intentionally (based on the encodings at the top of the files I saw)
I was able to change this line to fix the issue but it seems like the broader issue is that strings are in ASCII.
Reproduce: Open Pry and use this string:
'’ this will break pry!'
The text was updated successfully, but these errors were encountered: