Clarion build
12.0.14175
OS / architecture
Windows 10
Area
Compiler / language
What happened
I have a Ustring;
ustr = u’
’
I assign it to a prompt control;
?ustrPrompt{prop:text} = ustr
assignment converts it to a string, so Ustring characters are lost
Steps to reproduce
!UTF8
PROGRAM
ustr ustring(20)
Window WINDOW(‘Caption’),AT(,260,100),GRAY,FONT(‘Courier New’,20)
prompt(‘’‘’),AT(29,7,100),USE(?ustrPrompt)
entry(@s20),AT(29,37),USE(ustr)
text,AT(29,57,30),USE(ustr,?ustr2)
END
CODE
ustr = u’
’
Open(window)
?ustrPrompt{prop:text} = ustr
Accept
End