Unicode.Category.QuoteMarks (Unicode v2.0.0)

Copy Markdown View Source

Functions to return codepoints that form quotation marks. These marks are taken from the Wikipedia definition which is more expansive than the Unicode categories Pi and Pf.

The full list of codepoints considered to be quote marks is tabled here.

Unicode code point table

These are codepoints noted in the Unicode character data base with the flag quotation mark = yes. These are equivalent to the unicode sets Pi and Pf.

GlyphCodeUnicode nameHTMLComments
"U+0022Quotation mark"Typewriter ("programmer's") quote, ambidextrous. Also known as "double quote".
'U+0027Apostrophe'Typewriter ("programmer's") straight single quote, ambidextrous
«U+00ABLeft-pointing double angle quotation mark«Double angle quote
»U+00BBRight-pointing double angle quotation mark»Double angle quote, right
U+2018Left single quotation mark‘Single curved quote, left. Also known as ''inverted [[comma]]'' or ''turned comma''
U+2019Right single quotation mark’Single curved quote, right
U+201ASingle low-9 quotation mark‚Low single curved quote, left
U+201BSingle high-reversed-9 quotation mark‛also called ''single reversed comma'', ''quotation mark''
U+201CLeft double quotation mark“Double curved quote, left
U+201DRight double quotation mark”Double curved quote, right
U+201EDouble low-9 quotation mark„Low double curved quote, left
U+201FDouble high-reversed-9 quotation mark‟also called ''double reversed comma'', ''quotation mark''
U+2039Single left-pointing angle quotation mark‹Single angle quote, left
U+203ASingle right-pointing angle quotation mark›Single angle quote, right
U+2E42Double low-reversed-9 quotation mark⹂also called ''double low reversed comma'', ''quotation mark''

Quotation marks in dingbats

GlyphCodeUnicode nameHTMLComments
U+275BHeavy single turned comma quotation mark ornament&amp;#10075;<code>Quotation Mark=No</code>
U+275CHeavy single comma quotation mark ornament&amp;#10076;<code>Quotation Mark=No</code>
U+275DHeavy double turned comma quotation mark ornament&amp;#10077;<code>Quotation Mark=No</code>
U+275EHeavy double comma quotation mark ornament&amp;#10078;<code>Quotation Mark=No</code>
🙶U+1F676SANS-SERIF HEAVY DOUBLE TURNED COMMA QUOTATION MARK ORNAMENT&amp;#128630;<code>Quotation Mark=No</code>
🙷U+1F677SANS-SERIF HEAVY DOUBLE COMMA QUOTATION MARK ORNAMENT&amp;#128631;<code>Quotation Mark=No</code>
🙸U+1F678SANS-SERIF HEAVY LOW DOUBLE COMMA QUOTATION MARK ORNAMENT&amp;#128632;<code>Quotation Mark=No</code>

Quotation marks in Braille Patterns

GlyphCodeUnicode nameHTMLComments
U+2826Braille pattern dots-236&amp;#10292;Braille double closing quotation mark; <code>Quotation Mark=No</code>
U+2834Braille pattern dots-356&amp;#10278;Braille double opening quotation mark; <code>Quotation Mark=No</code>

Quotation marks in Chinese, Japanese, and Korean

GlyphCodeUnicode nameHTMLComments
U+300CLeft corner bracket&amp;#12300;CJK
U+300DRight corner bracket&amp;#12301;CJK
U+300ELeft white corner bracket&amp;#12302;CJK
U+300FRight white corner bracket&amp;#12303;CJK
U+301DREVERSED DOUBLE PRIME QUOTATION MARK&amp;#12317;CJK
U+301EDOUBLE PRIME QUOTATION MARK&amp;#12318;CJK
U+301FLOW DOUBLE PRIME QUOTATION MARK&amp;#12319;CJK

Alternate encodings

GlyphCodeUnicode nameHTMLComments
U+FE41PRESENTATION FORM FOR VERTICAL LEFT CORNER BRACKET&amp;#65089;CJK Compatibility, preferred use: U+300C
U+FE42PRESENTATION FORM FOR VERTICAL RIGHT CORNER BRACKET&amp;#65090;CJK Compatibility, preferred use: U+300D
U+FE43PRESENTATION FORM FOR VERTICAL LEFT WHITE CORNER BRACKET&amp;#65091;CJK Compatibility, preferred use: U+300E
U+FE44PRESENTATION FORM FOR VERTICAL RIGHT WHITE CORNER BRACKET&amp;#65092;CJK Compatibility, preferred use: U+300F
U+FF02FULLWIDTH QUOTATION MARK&amp;#65282;Halfwidth and Fullwidth Forms, corresponds with U+0022
U+FF07FULLWIDTH apostrophe&amp;#65287;Halfwidth and Fullwidth Forms, corresponds with U+0027
U+FF62HALFWIDTH LEFT CORNER BRACKET&amp;#65378;Halfwidth and Fullwidth Forms, corresponds with U+300C
U+FF63HALFWIDTH right CORNER BRACKET&amp;#65379;Halfwidth and Fullwidth Forms, corresponds with U+300D

Summary

Functions

Returns a list of codepoints representing all quote marks.

Returns a list of codepoints representing quote marks typically used on the left or right (for LTR languages).

Returns a list of codepoints representing quote marks typically used in Braille.

Returns a list of codepoints representing quote marks understood to be double marks.

Returns a list of codepoints representing quote marks typically used on the left (for LTR languages).

Returns a list of codepoints representing quote marks typically used on the right (for LTR languages).

Returns a list of codepoints representing quote marks understood to be single marks.

Functions

all_quote_marks()

Returns a list of codepoints representing all quote marks.

The list is the union of all the other lists in this module with duplicates removed.

Returns

  • A list of integer codepoints.

Examples

iex> 0x2018 in Unicode.Category.QuoteMarks.all_quote_marks()
true

quote_marks_ambidextrous()

Returns a list of codepoints representing quote marks typically used on the left or right (for LTR languages).

Returns

  • A list of integer codepoints.

Examples

iex> 0x0022 in Unicode.Category.QuoteMarks.quote_marks_ambidextrous()
true

quote_marks_braille()

Returns a list of codepoints representing quote marks typically used in Braille.

Returns

  • A list of integer codepoints.

Examples

iex> Unicode.Category.QuoteMarks.quote_marks_braille()
[10278, 10292]

quote_marks_double()

Returns a list of codepoints representing quote marks understood to be double marks.

Returns

  • A list of integer codepoints.

Examples

iex> 0x0022 in Unicode.Category.QuoteMarks.quote_marks_double()
true

quote_marks_left()

Returns a list of codepoints representing quote marks typically used on the left (for LTR languages).

Returns

  • A list of integer codepoints.

Examples

iex> 0x00AB in Unicode.Category.QuoteMarks.quote_marks_left()
true

quote_marks_right()

Returns a list of codepoints representing quote marks typically used on the right (for LTR languages).

Returns

  • A list of integer codepoints.

Examples

iex> 0x00BB in Unicode.Category.QuoteMarks.quote_marks_right()
true

quote_marks_single()

Returns a list of codepoints representing quote marks understood to be single marks.

Returns

  • A list of integer codepoints.

Examples

iex> 0x0027 in Unicode.Category.QuoteMarks.quote_marks_single()
true