http://www.perlmonks.org?node_id=1027618


in reply to print comma in superscript

Is there a superscript comma? I don’t see one in here: Unicode subscripts and superscripts. I have no idea of some combining characters would allow for it. Printing the simple characters from the blocks in that link is pretty simple–

perl -CSD -e 'print " x" . chr($_) for 0xB2, 0xB3, 0x2070 .. 0x207F; print $/'
 x² x³ x⁰ xⁱ x⁲ x⁳ x⁴ x⁵ x⁶ x⁷ x⁸ x⁹ x⁺ x⁻ x⁼ x⁽ x⁾ xⁿ