Open Mego opened 8 years ago
It looks like this issue is caused by not properly decoding UTF-8 code for languages that don't use UTF-8 (like Seriously).
the solution is to fix your language so it uses utf-8
@vihanb ... not helpful.
this is a bug with tryitonline's api I think, I don't know how to fix it.
oops. But anyway, not fixing. This isn't the userscript's fault.
TryItOnline sends the actual result right after
This definitely is the userscript's fault. See DataBot for an example of how to do it right.
It's done in exactly the same way. Could you try making DataBot run the answer in question?
This is broken again (or still?):
For me, that particular answer has an error thrown from TIO that says Bad TIO™ Permalink. DOMException [InvalidCharacterError: "String contains an invalid character"...
. The permalink contains a single _
, which seems to be the problem, as the userscript tries to perform atob
on the URL.
Example
What it shows:
Actual output