www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Displaying international characters

reply Ald <Ald_member pathlink.com> writes:
How can I display UTF-16 and 32 encoded characters?

I have just spent a couple of hours learning and building with DFL only to
finally read in the docs that UTF is not supported.  It was a great experience
for a beginner, though....
Sep 08 2005
parent reply Vathix <chris dprogramming.com> writes:
On Thu, 08 Sep 2005 19:56:29 -0400, Ald <Ald_member pathlink.com> wrote:

 How can I display UTF-16 and 32 encoded characters?
writef() supports those. Windows MessageBoxW() and TextOutW() work with UTF-16 on all versions.
 I have just spent a couple of hours learning and building with DFL only  
 to
 finally read in the docs that UTF is not supported.  It was a great  
 experience
 for a beginner, though....
DFL doesn't "completely" support it yet, but it does for the most part. DFL is still just leaving the alpha stage. If you find something that doesn't support it, make a note on the DFL forum; this type of thing usually gets priority.
Sep 08 2005
parent Stewart Gordon <smjg_1998 yahoo.com> writes:
Vathix wrote:
 On Thu, 08 Sep 2005 19:56:29 -0400, Ald <Ald_member pathlink.com>
 wrote:
 
 How can I display UTF-16 and 32 encoded characters?
writef() supports those.
<snip> For one or two values of "supports". It's certainly no more advanced in its ability to display them than printf or puts. Stewart. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M d- s:- C++ a->--- UB P+ L E W++ N+++ o K- w++ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y ------END GEEK CODE BLOCK------ My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Sep 09 2005