Computers are the worst, part 162452 > "\u016f".encode('ISO-2022-JP', invalid: :replace, xml: :text).encode('UTF-8') => "ů" > "\u016f".encode('ISO-2022-JP', invalid: :replace, fallback: proc { |c| "&\#x#{http://c.ord.to _s(16)};" }).encode('UTF-8') => "�"
This seems like a Ruby bug, exposing internal implementation to your fallback conversion routine.
-
-
I agree. I just filed https://bugs.ruby-lang.org/issues/15033
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.