SymbolFYI

Comma vs Right Square Bracket

,
Comma
002C
View details →
]
Right Square Bracket
005D
View details →
VS

Property Comparison

Property , 002C ] 005D
Name Comma Right Square Bracket
Category Latin Extended Latin Extended
Block Basic Latin Basic Latin
Script Zyyy Zyyy
General Category Other Punctuation (Po) Close Punctuation (Pe)
Bidirectional CS ON

Encoding Comparison

Format 002C 005D
Unicode U+002C U+005D
HTML Decimal , ]
HTML Hex , ]
CSS \002C \005D
JavaScript \u{2C} \u{5D}
Python \u002c \u005d
UTF-8 2c 5d

How to Distinguish

Both Comma and Right Square Bracket belong to the Latin Extended category and the Basic Latin block. Compare their codepoints and visual rendering to distinguish them.

Tip: Paste the character into a hex editor or use charCodeAt() in JavaScript to check the actual codepoint.

Related Comparisons

, Comma details ] Right Square Bracket details All Comparisons