title: Mariadb get string in binary format BE
body: <p>If I am run query:</p>
  <pre><code>SELECT HEX(BINARY(CONVERT('ßÁÁÁÁÁČµ$€Łß' USING ucs2)));
  </code></pre>
  <p>I am get:</p>
  <pre><code>00DF00C100C100C100C100C1010C00B5002420AC014100DF
  </code></pre>
  <p>and I suppose that sequence is BE, because in txt file in UTF-16 BE is the same sequence.</p>
  <p>How to get sequence in UTF-16 LE?</p>
  <p>You ask why I want LE? Because the query on MS SQL server:</p>
  <pre><code>SELECT CONVERT(varbinary(100), N'ßÁÁÁÁÁČµ$€Łß',0)
  </code></pre>
  <p>return:</p>
  <pre><code>0xDF00C100C100C100C100C1000C01B5002400AC204101DF00
  </code></pre>
  <p>Thank</p>
  <p>Jaroslav</p>