Workbench show datatypes and language tags can choke on special characters

Description

Affecting query result pages and explore pages. I have a language literal like this:

It is rendered in the HTML as

and URIError: malformed URI sequence disrupts the processing of this line whenever the checkbox is toggled:

Environment

None

Status

Assignee

Dale W. Visser

Reporter

Dale W. Visser

Labels

None

Components

Affects versions

Priority

Minor
Configure