Special Characters in uifcLabel Text
All,
I've finally started to make the switch from traditional Pro/TOOLKIT into OTK, and ran into a quick question.
I have a uifcDialog created and working fine. Inside of that dialog, I have a uifcLabel - lets call it "CONTENT". I can set text to CONTENT using the standard
uifcLabel_ptr label = uifcLabelFind(DIALOG_NAME, CONTENT);
label->SetTextAlignment(uifcAlignment::uifcALIGNMENT_LEFT);
xstring custom_text = "My Text";
label->SetText(custom_text);
However, this does not seem to work when I include special characters
for instance:
xstring custom_text = "© Text";
label->SetText(custom_text);
I'm not sure if this has anything to do with it... but I loaded up the debugger, and investigated "custom_text". Inside of the __xstring_c it seems as though only the mbstr element has a value... the wstr element is NULL.
Any ideas?
As a side note... I'm testing in Creo 3, and am linking to protk_dll_NU.lib.
Thanks,
James
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

