<!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 1:
    AB ( CD [ & ef ] ! ) gh
-->
<div>&#x5d1;&#x5d0;(&#x5d3;&#x5d2;[&amp;ef]!)gh</div>