<!DOCTYPE html> <meta charset="utf-8"> <style> body { font: 32px monospace; } div { text-align: center; unicode-bidi: bidi-override; } </style> <body> <!-- http://unicode.org/reports/tr9/#N0, Example 2 with fabrikam and ARABIC exchanged: smith (ARABIC fabrikam) HEBREW --> <div>smith (يبرعلا fabrikam) תירבע</div>