Skip to content

TINYDOC-3660: Serve the markdown and text files with a UTF-8 charset - #4394

Merged
kemister85 merged 1 commit into
mainfrom
hotfix/main/TINYDOC-3660
Oct 14, 2026
Merged

kemister85 merged 1 commit into
mainfrom
hotfix/main/TINYDOC-3660

Conversation

@kemister85

@kemister85 kemister85 commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Ticket: TINYDOC-3660

What was broken: S3 served .md and .txt files without a charset (content-type: text/markdown). Browsers then decoded the UTF-8 files as Windows-1252, so https://www.tiny.cloud/docs/sitemap.md showed — instead of —. This also affected AGENTS.md, every page index.md and the llms*.txt files.

What is fixed: .md files are served as text/markdown; charset=utf-8 and .txt files as text/plain; charset=utf-8. Cache-control and all other files are unchanged.

How: .github/workflows/deploy_docs_v2.yml now uploads *.md and *.txt in their own aws s3 sync calls with an explicit --content-type, because the sync's guessed type has no charset.

Pre-checks:

  • Branch prefixed with feature/<version>/, hotfix/<version>/, staging/<version>/, or release/<version>/.

Review:

  • Documentation Team Lead has reviewed

@kemister85
kemister85 requested review from a team, TheSpyder, metricjs, soritaheng, tiny-ben-tran, tiny-james and tjdett and removed request for a team October 13, 2026 07:07
@kemister85
kemister85 marked this pull request as ready for review October 13, 2026 07:07
@kemister85
kemister85 requested a review from a team as a code owner October 13, 2026 07:07
@kemister85
kemister85 merged commit 6ed7a17 into main Oct 14, 2026
5 checks passed
@kemister85
kemister85 deleted the hotfix/main/TINYDOC-3660 branch October 14, 2026 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants