Skip to content

strconv: Quote method that uses IsGraphic not IsPrint #11511

@robpike

Description

@robpike

The IsPrint method is of our own design and makes sense, but it means that ideographic languages using for instance U+3000, the ideographic space, quote badly.

There should be a variant, perhaps strconv.QuoteGraphic, that offers the distinction, or perhaps a more general method that allows a func to make the definition.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions