In Unicode, some characters are "mirrored". This means that their
images are mirrored horizontally in text that is laid out from right
to left. For instance, "(" would become its mirror image, ")", in
right-to-left text.
If ch has the Unicode mirrored property and there is another unicode
character that typically has a glyph that is the mirror image of ch's
glyph and mirrored_ch is set, it puts that character in the address
pointed to by mirrored_ch. Otherwise the original character is put.
Parameters
ch: string
a Unicode character
Returns [boolean,string]
true if ch has a mirrored character, false otherwise
In Unicode, some characters are "mirrored". This means that their images are mirrored horizontally in text that is laid out from right to left. For instance, "(" would become its mirror image, ")", in right-to-left text.
If
chhas the Unicode mirrored property and there is another unicode character that typically has a glyph that is the mirror image ofch's glyph andmirrored_chis set, it puts that character in the address pointed to bymirrored_ch. Otherwise the original character is put.