Skip to content

Blog category accent problem #6069

@tamasgt

Description

@tamasgt

Context

Something has changed, it was still working 1-2 months ago. I installed the latest version.

Bug description

If the category name contains an accented character, then:

ERROR   -  Encoding error reading file: blog\category\általános.md
ERROR   -  Error reading page 'blog/category/általános.md': 'utf-8' codec can't decode byte 0xc1 in position 2: invalid start byte
Traceback (most recent call last):
...

Related links

categories

Reproduction

9.4.1+insiders.4.42.0-accent.zip

Steps to reproduce

Just uncomment #- Általános in sample-post-1.md file.

---
date: 2022-01-01
categories:
  - Category 1
  #- Általános
...

and mkdocs serve.

Browser

Chrome

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue reports a bugresolvedIssue is resolved, yet unreleased if open

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions