What is Nostr?
postmodern /
npub14ck…2qs4
2024-07-02 20:12:26

postmodern on Nostr: So here's a weird problem. Say I want to embed literal binary data into an HTML page, ...

So here's a weird problem. Say I want to embed literal binary data into an HTML page, so it could be copy/pasted raw (don't ask). However, this often causes "invalid byte-sequence in UTF-8" when Rack::Utils.escape_html() tries to escape any HTML control characters. How do I get around this?
#rack #ruby
Author Public Key
npub14ck97r2hvl2ggker25pv767kl32pxdqqns5zyx4n609emxy47smsru2qs4