F
Fabian Frank
Guest
Using OE 11.1 "€" (Euro) chars get filtered out of strings when passed to .net via clr bridge. I first encountered the problem with winforms TextBox Text property but the code below is easier to test and shows the issue is not related to UI Elements. The MessageBox shows "1a" instead of "1€a". The length of the resulting string is 3, if you cut out the second char using substring it will be an empty string. DEF VAR v-sb AS System.Text.StringBuilder NO-UNDO. v-sb = new System.Text.StringBuilder(). v-sb:Append("1"). v-sb:Append("€"). v-sb:Append("a"). MESSAGE v-sb:ToString() VIEW-AS ALERT-BOX.
Continue reading...
Continue reading...