szabodanika / microbin

A secure, configurable file-sharing and URL shortening web app written in Rust.

Home Page:https://microbin.eu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unicode paste displayed as gibberish in raw text

tddschn opened this issue · comments

Describe the bug

Unicode paste displayed as gibberish in raw text.

The paste: https://pub.microbin.eu/upload/emu-eagle-goose

CleanShot-2023-12-21T09-31-40@2x

Raw:

https://pub.microbin.eu/raw/emu-eagle-goose

CleanShot-2023-12-21T09-31-34@2x

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://pub.microbin.eu/ and create a new paste with content 测试
  2. Click on Raw Text of the new paste

Expected behavior
Raw text shown as normal readable unicode.