Skip to content

Clarification on inline direction #262

@xfq

Description

@xfq

https://www.w3.org/TR/rdf12-concepts/

While rdf:dirLangString handles the base direction, the specification should clarify how inline directional changes within a plain literal string should be handled, probably as a note, like this:

While rdf:dirLangString specifies the base direction for the entire literal, inline directional changes within the string value (e.g., embedding text of opposite directionality) can be managed using Unicode bidirectional control characters. These control characters isolate parts of the text to ensure correct rendering under the Unicode Bidirectional Algorithm.

Markup-based approaches (e.g., using HTML <bdi> or <span dir="..."> elements) are not applicable to plain literals like rdf:dirLangString, as they are intended for structured formats such as rdf:HTML. Instead, rely on Unicode controls for bidi support in plain text strings.

For more details, see:

Metadata

Metadata

Assignees

No one assigned

    Labels

    i18n-needs-resolutionIssue the Internationalization Group has raised and looks for a response on.needs discussionProposed for discussion in an upcoming meeting

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions