<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Georgia">What worked for me once upon a time was to
      convert the euro character to a series of utf-8 bytes.<br>
      <br>
      <a class="moz-txt-link-freetext" href="http://www.fileformat.info/info/unicode/char/20aC/index.htm">http://www.fileformat.info/info/unicode/char/20aC/index.htm</a><br>
      <br>
    </font>so, for
    <meta charset="utf-8">
    <span style="color: rgb(51, 51, 51); font-family: 'Open Sans',
      'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;
      font-style: normal; font-variant: normal; font-weight: normal;
      letter-spacing: normal; line-height: 20px; orphans: auto;
      text-align: left; text-indent: 0px; text-transform: none;
      white-space: normal; widows: 1; word-spacing: 0px;
      -webkit-text-stroke-width: 0px; display: inline !important; float:
      none; background-color: rgb(249, 249, 249);">euro-currency sign<span
        class="Apple-converted-space"> </span></span><a
      href="http://www.fileformat.info/info/unicode/char/20a0/index.htm"
      style="color: rgb(0, 136, 204); text-decoration: none;
      font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial,
      sans-serif; font-size: 14px; font-style: normal; font-variant:
      normal; font-weight: normal; letter-spacing: normal; line-height:
      20px; orphans: auto; text-align: left; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 1;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;">U+20A0</a> you
    would need a 3-byte string whose characters in hex were:
    <meta charset="utf-8">
    <span style="color: rgb(51, 51, 51); font-family: 'Open Sans',
      'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;
      font-style: normal; font-variant: normal; font-weight: normal;
      letter-spacing: normal; line-height: 20px; orphans: auto;
      text-align: left; text-indent: 0px; text-transform: none;
      white-space: normal; widows: 1; word-spacing: 0px;
      -webkit-text-stroke-width: 0px; display: inline !important; float:
      none; background-color: rgb(249, 249, 249);">0xE2 0x82 0xAC</span>
    <div class="moz-cite-prefix"><br>
      In squeak, I used this<br>
      <br>
      utf8ForCodePoint: cp<br>
      <br>
      "===<br>
      SEUtils utf8ForCodePoint: 16r2190 <br>
          <br>
      16r2190 radix: 2 '10000110010000'<br>
      <br>
      16    U+FFFF    1110xxxx    10xxxxxx    10xxxxxx<br>
      ==="<br>
      <br>
          | bits answer |<br>
          <br>
          bits := (cp radix: 2) padded: #left to: 16 with: $0.<br>
          answer := String new.<br>
          {<br>
              '2r1110',(bits copyFrom: 1 to: 4).<br>
              '2r10',(bits copyFrom: 5 to: 10).<br>
              '2r10',(bits copyFrom: 11 to: 16).<br>
          } do: [ :radix2 |<br>
              answer := answer, (String with: (Character value: radix2
      asNumber)).<br>
          ].<br>
      <br>
          ^answer<br>
      <br>
      On 1/1/16 5:09 AM, Hilaire wrote:<br>
    </div>
    <blockquote cite="mid:n65j9i$686$1@ger.gmane.org" type="cite">
      <pre wrap="">Le 31/12/2015 15:42, Sven Van Caekenberghe a écrit :
</pre>
      <blockquote type="cite">
        <pre wrap="">A possible solution is to somehow start with a WideString from the beginning (or force it before doing all elements one by one).
</pre>
      </blockquote>
      <pre wrap="">
In the hack you are suggesting, does it not required the whole contents
of the rendered page html code to be put as WideString?
Indeed, hacking only my object #printOn: method to send WideString to
the stream does not help.

Hilaire

</pre>
    </blockquote>
    <br>
  </body>
</html>