Alt codes seem to work fine in text fields for all kinds of different letters and basic characters(À,Ë,ß,<,µ,Œ), but I can't get any of the shapes or symbols (i.e. ©,?,?,,?,?) to show up.
I assume there's just something up with the way VFE processes the encoding of these characters, but I was just wondering if anyone has gotten any symbols like this to work properly.
I think only ascii characters are permitted. For example, you could assign an mle to a box with
{!document.whatever=numtoascii(129) + " text"} which would insert a small box into the mle when the form loads followed by whatever text you want.
Just look up the assii codes to see if the symbol you need is available.
Thanks.
Sorry to hijack, but maybe this is related?
Do you why a single \ in a string is turning into \\ when the form runs in EMR? For example if I do PRINTHANDOUT("Handouts\Summary"), it does not work because I see PRINTHANDOUT("Handouts\\Summary") in the MEL trace.
I replaced \ with numtoascii(92) and it's working as expected so you already helped me 🙂
A \ usually means a special character follows, so when there's a \ in a quoted string, it gets replaced with \\ so the \ isn't lost later in the processing.
A Google search for 'Ascii Table' or 'Ascii codes' or w/e yields hex and integer values that are different than what asciitonum() produces.
numtoascii(165) yields ¥ , but google doesn't refer to it as 165.....¿?
I've used a FOR loop to print the result of numtoascii(i) for 0<i<255 (and >255) and I don't see any shapes......just lots of special characters
Customizing the patient banner allows you to choose Wingdings as a font which then lets you choose all sorts of shapes. For example, I have a symbol of a telephone
that appears in the banner when a patient prefers to be contacted via phone, and a symbol of a computer that appears if the patient prefers contact via email. I can't get any shapes/symbols to work in the forms except for the classic mystery box . I've also tried copy/paste using the Windows character map, and while many many letters and math symbols do work, shapes/symbols do not.
Oh yee Admin, He-Who-Knows-the-Magical-Interworkings-of-Centricity, would you have an explanation of how Centricity handles character encoding? You've given such excellent explanations before on topics for which there is very little public information available. Thanks