opengist
opengist copied to clipboard
when run in the linux and docker , Chinese garbled characters
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?
I also met this problem, I have no idea, anyone can help?
Met this problem too.
Reproduce:
- Build an opengist instance in Docker
- Then create a gist named by any CJK characters, like "中文名.txt"
- After creation, click the "raw file" button in the gist page
- Error
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
Thanks for the reproduction steps
Need add Content-Type tell browser, the encoding use utf-8, chinese deafult use GBK-8 encoding
I fix it https://github.com/thomiceli/opengist/pull/441