Alright, here is the feedback ID: http://www.realsoftware.com/feedback/viewreport.php?reportid=sqtjzipz
Kind of annoying, I am reading in lots of UTF16 strings from an external source and would rather not have to convert them all. Hopefully this is an easy fix and can make it for r3. Thanks for the help. -Drew On Apr 27, 2007, at 2:13 PM, [EMAIL PROTECTED] wrote: > On Apr 27, 2007, at 19:40 UTC, Drew F. wrote: > >> Found what makes it happen. It seems if the string is a utf16 string >> the strangeness occurs. >> ... >> Can anyone else confirm this. It does not occur on Win32. > > I can confirm it. And it gets even weirder: if you omit the last two > parameters of DrawString, so you give it just the string and the > position at which to draw, then instead of "ImageName #1" (or > whatever) > it draws "laeae#" followed by a Chinese character! > > You can reproduce this with only three lines, in Window.Paint: > > Dim s As String > s = ConvertEncoding( "ImageName #1", Encodings.UTF16 ) > g.DrawString s, 10, 10 > > It would appear that DrawString for UTF-16 is simply broken. Odd that > such strings display fine in other contexts, though. > > And no, I've never seen this before -- but then, I rarely use UTF-16. > Let us know the feedback ID, and I'll certainly sign on. > > Best, > - Joe > > -- > Joe Strout -- [EMAIL PROTECTED] > > > _______________________________________________ > Unsubscribe or switch delivery mode: > <http://www.realsoftware.com/support/listmanager/> > > Search the archives: > <http://support.realsoftware.com/listarchives/lists.html> > _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
