<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I think this would be a major error. Choose 16bit route when only Windows does this, and everybody else is using UTF-8 is not a logical decision.<br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Candara; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">--</div></span></div></span><span class="Apple-style-span" style="font-family: Helvetica; ">Dragiša Durić</span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><a href="mailto:dragisha@m3w.org">dragisha@m3w.org</a></div><div><br></div></div></span></div></span></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On 30 Nov 2013, at 09:26, Jay K <<a href="mailto:jay.krell@cornell.edu">jay.krell@cornell.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 12pt; font-family: Calibri; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div dir="ltr">Right, In this respect, everything probably just works and always has.<br>Just don't try to display any two non-English languages in a GUI at once.<br> <br>I think we should port Trestle to use 16 bit characters always internally.<br>Even going so far as to double the memory use of common English strings.<br> <br>Can anyone vouch for XDrawString16 generally being implemented and working?<br> <br> - Jay<br><br> <br><div>> Date: Sat, 30 Nov 2013 00:46:55 -0500<br>> From:<span class="Apple-converted-space"> </span><a href="mailto:hendrik@topoi.pooq.com">hendrik@topoi.pooq.com</a><br>> To:<span class="Apple-converted-space"> </span><a href="mailto:m3devel@elegosoft.com">m3devel@elegosoft.com</a><br>> Subject: Re: [M3devel] Fw: UTF-16: Greek alphabet with CM3<br>><span class="Apple-converted-space"> </span><br>> On Thu, Nov 28, 2013 at 07:47:55AM +0100, Olaf Wagner wrote:<br>> > I know that there have been controverse discussions about the right<br>> > way to do unicode support.<br>> ><span class="Apple-converted-space"> </span><br>> > Is there any way to help Elmar Stellnberger with a quick solution?<br>><span class="Apple-converted-space"> </span><br>> See <a href="http://en.wikipedia.org/wiki/ISO/IEC_8859-7">http://en.wikipedia.org/wiki/ISO/IEC_8859-7</a><br>> It seems there's an eight-bit code that's enough for the Greek language.<br>> So in theory all you need to do is set the right environment variables<br>> to specify a Greek character set. In practice you might have to define<br>> the geometry fot the Greek characters for Trestle. Unless it manages<br>> to use the underlying OS support for this.<br>><span class="Apple-converted-space"> </span><br>> -- hendrik<br>><span class="Apple-converted-space"> </span><br>><span class="Apple-converted-space"> </span><br>> ><span class="Apple-converted-space"> </span><br>> > Olaf<br>> ><span class="Apple-converted-space"> </span><br>> > Begin forwarded message:<br>> ><span class="Apple-converted-space"> </span><br>> > Date: Wed, 27 Nov 2013 20:13:54 +0100<br>> > From: Elmar Stellnberger <<a href="mailto:estellnb@elstel.org">estellnb@elstel.org</a>><br>> > To: <a href="mailto:m3-support@elego.de">m3-support@elego.de</a><br>> > Subject: UTF-16: Greek alphabet with CM3<br>> ><span class="Apple-converted-space"> </span><br>> ><span class="Apple-converted-space"> </span><br>> > Dear Supporters of CM3, Elegosoft<br>> ><span class="Apple-converted-space"> </span><br>> > Wanting to make use of CM3s new UTF-16 feature I have tried to use<span class="Apple-converted-space"> </span><br>> > greek letters by VAL(945+code,WIDECHAR) where 945 is alpha and 946 is<span class="Apple-converted-space"> </span><br>> > beta in the unicode table. However I soon had to notice that outputing<span class="Apple-converted-space"> </span><br>> > widechars is not supported by Trestle which still seems to be based on<span class="Apple-converted-space"> </span><br>> > X11R4. Some analysis of the problem has shown that TextVBT calls<span class="Apple-converted-space"> </span><br>> > VBT.PaintText which does however use the CHAR type internally rather<span class="Apple-converted-space"> </span><br>> > than Widechar calling PaintSub to output text instead of the X11R6<span class="Apple-converted-space"> </span><br>> > function XDrawString16. Is it true that you plan real unicode support<span class="Apple-converted-space"> </span><br>> > for CM3 or is there any way to hack the trestle toolkit into allowing<span class="Apple-converted-space"> </span><br>> > X11R6 functions? If yes or no how could I convert current X11R6 includes<span class="Apple-converted-space"> </span><br>> > for being used with Modula-3? Nonetheless I would really welcome true<span class="Apple-converted-space"> </span><br>> > native utf-16 support (as nowadays given by the iso10646-1 X core fonts<span class="Apple-converted-space"> </span><br>> > like also 'fixed') because that would be the only way to make use of<span class="Apple-converted-space"> </span><br>> > utf-16 for Windows ports. Otherwise I will have to consider whether I<span class="Apple-converted-space"> </span><br>> > can use Modula-3 at all for my current project which is about converting<span class="Apple-converted-space"> </span><br>> > the automaton simulator <a href="http://www.elstel.org/coan">www.elstel.org/coan</a> from Object Pascal into a<span class="Apple-converted-space"> </span><br>> > currently supported language and publishing it as open source.<br>> > Thanks a lot for your effort!<br>> ><span class="Apple-converted-space"> </span><br>> > Yours,<br>> > Elmar Stellnberger<br>> > --<span class="Apple-converted-space"> </span><br>> > Olaf Wagner -- elego Software Solutions GmbH -- <a href="http://www.elegosoft.com">http://www.elegosoft.com</a><br>> > Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany<br>> > phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95<br>> > Geschäftsführer: Michael Diers, Olaf Wagner | Sitz: Berlin<br>> > Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194</div></div></div></blockquote></div><br></body></html>