vihanb / PPCG-Design

A redesign of the PPCG website
codegolf.stackexchange.com
35 stars 13 forks source link

Try it online result doesn't work #73

Open Mego opened 8 years ago

Mego commented 8 years ago

Example

What it shows:

Actual output

Mego commented 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).

vihanb commented 8 years ago

the solution is to fix your language so it uses utf-8

RikerW commented 8 years ago

@vihanb ... not helpful.

vihanb commented 8 years ago

this is a bug with tryitonline's api I think, I don't know how to fix it.

RikerW commented 8 years ago

oops. But anyway, not fixing. This isn't the userscript's fault.

somebody1234 commented 8 years ago

TryItOnline sends the actual result right after

Mego commented 8 years ago

This definitely is the userscript's fault. See DataBot for an example of how to do it right.

somebody1234 commented 8 years ago

It's done in exactly the same way. Could you try making DataBot run the answer in question?

Mego commented 7 years ago

This is broken again (or still?):

http://codegolf.stackexchange.com/a/99642/45941

image

ETHproductions commented 7 years ago

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.