[M3devel] Fw: UTF-16: Greek alphabet with CM3

Daniel Alejandro Benavides D. dabenavidesd at yahoo.es
Fri Nov 29 02:41:18 CET 2013


Hi all:
I'm retired for Modula-3 work for now, but the ASCII table had codes for Greek alphabet are you sure you can't print that with ASCII?
http://www.ascii-codes.com/cp869.html


Thanks in advance


PD: I  will have time In January, if you want I can help port your app (if it doens't have too much goto's)




El Jueves 28 de noviembre de 2013 1:54, Olaf Wagner <wagner at elegosoft.com> escribió:
 
I know that there have been controverse discussions about the right
way to do unicode support.

Is there any way to help Elmar Stellnberger with a quick solution?

Olaf

Begin forwarded message:

Date: Wed, 27 Nov 2013 20:13:54 +0100
From: Elmar Stellnberger <estellnb at elstel.org>
To: m3-support at elego.de
Subject: UTF-16: Greek alphabet with CM3


Dear Supporters of CM3, Elegosoft

   Wanting to make use of CM3s new UTF-16 feature I have tried to use 
greek letters by VAL(945+code,WIDECHAR) where 945 is alpha and 946 is 
beta in the unicode table. However I soon had to notice that outputing 
widechars is not supported by Trestle which still seems to be based on 
X11R4. Some analysis of the problem has shown that TextVBT calls 
VBT.PaintText which does however use the CHAR type internally rather 
than Widechar calling PaintSub to output text instead of the X11R6 
function XDrawString16. Is it true that you plan real unicode support 
for CM3 or is there any way to hack the trestle toolkit into allowing 
X11R6 functions? If yes or no how could I convert current X11R6 includes 
for being used with Modula-3? Nonetheless I would really welcome true 
native utf-16 support (as nowadays given by the iso10646-1 X core fonts 
like also 'fixed') because that would be the only way to make use of 
utf-16 for Windows ports. Otherwise I will have to consider whether I 
can use Modula-3 at all for my current project which is about converting 
the automaton simulator www.elstel.org/coan from Object Pascal into a 
currently supported language and publishing it as open source.
Thanks a lot for your effort!

Yours,
Elmar Stellnberger
-- 
Olaf Wagner -- elego Software Solutions GmbH -- http://www.elegosoft.com
               Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
Geschäftsführer: Michael Diers, Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20131129/7808405e/attachment-0002.html>


More information about the M3devel mailing list