When a file with Hebrew characters in its name is selected in the file upload control, the filename appears in reverse (left-to-right). Similarly, if the filename contains Unicode directional overrides (such as RLO) they are ignored. If Debug > Use ATSUI For All Text is selected, the filename is rendered correctly. Bug 11811 is similar. GraphicsContext::drawText is not suitable for drawing arbitrary strings.
<rdar://problem/4960269>
Committed revision 19414.