Skip to content

Document that text.lang is case-insensitive, or make it lowercase-only #6549

@Andrew15-5

Description

@Andrew15-5

Description

I'm somewhat used to the codes like ru_RU, so I was surprised to see that these things are case-insensitive in Typst. It reduces user error, but I feel a short sentence or a few words should be added.

bytes.make_ascii_lowercase();

Same for region and script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions