Salut Octavian, I've attached an example displaying a Unicode string (encoded in perl's internal representation) in a RichEdit control. You can control the styling of the text using RTF control codes, whose specification can be found at http://del.icio.us/dandvd/rtf+Word .
The previous discussion on this mailing list about RichEdit and Unicode can be found at http://sourceforge.net/mailarchive/forum.php?forum_id=3220 by searching for <Unicode RichEdit>. Hope that helps, Dan Dascalescu On 10/13/06, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
Hi Dan, I had a thought that a rich edit control might be able to display UTF-8 strings, but I haven't tried it until now. Please send me an example of doing this, because it will help me very much. Thank you. Mersi. Teddy ----- Original Message ----- From: "Dan Dascalescu" <[EMAIL PROTECTED]> To: "Octavian Rasnita" <[EMAIL PROTECTED]> Cc: <perl-win32-gui-users@lists.sourceforge.net> Sent: Friday, October 13, 2006 2:47 AM Subject: Re: [perl-win32-gui-users] printing UTF-8 > I built an application that displays UTF-8 successfully using > Win32::GUI::RichEdit. > As I'm not sure this is what you really want, please let me know if > you'd like more information. > > Dan Dascalescu > > > On 10/8/06, Octavian Rasnita <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Is it possible to print UTF-8 strings in a Win32::GUI application? > > > > For example, printing a Win32::GUI::MessageBox window... > > > > Thank you. > > > > Teddy
RichEdit_UTF8.pl
Description: Perl program