Support "Curly Quotes" for Args.quoted
#1545
Labels
feature-request
A new requested functionality.
framework
Related to the `framework` and `framework::standard` modules and/or the `command_attr` crate
Overview
Users on Mavericks+ Apple platforms (eg iOS) by default have their quote keys input "Curly Quotes" rather than straight quotes (also known as "Smart Quotes" or "Smart Punctuation"). This causes arguments to fail parsing, as it appears lexing checks against straight quotes only. While users could be asked to change their defaults, it's an abrasive experience that they may not wish to endeavor; and - at least on iOS - is a global setting they may not wish to change for this one use case.
Details
These Curly quotes appear to be unicode characters
201C
and201D
.Potential Solves
"The “lazy” fox"
) or perhaps the first quote encountered can govern the style for the remainder of lexing.Thoughts? I stumbled upon this in a guild with some friends, some of which use iPhone and others Android; some of whom are very not technical and it took some explaining to rectify what happened. But it's an annoying experience.
The text was updated successfully, but these errors were encountered: