<!DOCTYPE html>
<meta charset="utf-8">

<style>
body { font: 32px monospace; }
div { text-align: center; }
</style>

<body>

<!--
  http://unicode.org/reports/tr9/#N0, Example 1:
    AB ( CD [ & ef ] ! ) gh
-->
<!-- RTL -->
<div dir=rtl>&#x5d0;&#x5d1;(&#x5d2;&#x5d3;[&amp;ef]!)gh</div>