thomiceli / opengist

Self-hosted pastebin powered by Git, open-source alternative to Github Gist.
https://opengist.io
GNU Affero General Public License v3.0
1.83k stars 99 forks source link

when run in the linux and docker , Chinese garbled characters #296

Open jueshifuqing opened 5 months ago

jueshifuqing commented 5 months ago

when run in the linux and docker , Chinese garbled characters(such like "\345\225\212\345\217\221.sql")

when run in windows , Chinese text is ok.

is this a bug?

zfhxi commented 4 months ago

I also met this problem, I have no idea, anyone can help?

yqs112358 commented 15 hours ago

Met this problem too.

Reproduce:

  1. Build an opengist instance in Docker
  2. Then create a gist named by any CJK characters, like "中文名.txt"
  3. After creation, click the "raw file" button in the gist page
  4. Error