Slang::Quotes
NAME
Slang::Quotes -- Treat more unicode ❝quotes❞ as quotation marks
SYNOPSIS
say 🙶hello, world🙷;
say ❝hello world❞;
say ❝hello, world❞;
say 〝hello, world〞;
say "hello, world";
say ❛hello, world❜;
say 'hello, world';DESCRIPTION
There are a number of unicode characters that look like quotes but are not specifically categorized as quotes, such as
🙶these ones🙷aka
SANS-SERIF HEAVY DOUBLE TURNED COMMA QUOTATION MARK ORNAMENTand
SANS-SERIF HEAVY DOUBLE COMMA QUOTATION MARK ORNAMENTThe unicode properties of these indicate that they are bracketing characters, but not quotes.
Well, they look like quotes to me! With this slang, they are treated as quotes.
Note that without this slang of course you could use the Q operator, which turns bracketing characters into quotes.
Currently supported quote chars, their unicode category and whether they have the Quotation_Mark property, are:
AUTHOR
Brian Duggan