Any ideas on this one.
I can use numtochar(189) in Windows to get a 1/2 character into the text, but on a mac it displays the pie symbol.
I cannot for the life of me find the char map for a 1/2 symbol on the mac, it just doesnt seem to be there, any ideas?
The fonts in use are Arial on Windows and Lucida Grande on the mac.
Thanks
Andy
Half character on a Mac
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
The 1/2 character is 0xC2BD in UTF and 0xBD in unicode on a mac. The quickest way I can think of it to display is to do this:
set the useUnicode to true // local variable so don't worry about resetting it
put NumToChar(0xBD) into tTmp
set the text of field "YourField" to yourString & uniDecode(tTmp)
Can probably be done easier but I'm still getting acquainted with RR.
Shows the 1/2 character on my mac.
Ismo
set the useUnicode to true // local variable so don't worry about resetting it
put NumToChar(0xBD) into tTmp
set the text of field "YourField" to yourString & uniDecode(tTmp)
Can probably be done easier but I'm still getting acquainted with RR.
Shows the 1/2 character on my mac.
Ismo
Thanks Ismo,
That works perfectly in a new empty stack, but still returns the pie symbol in my app so it must be something else somewhere in the stack that is causing the problem, so Im off to find a needle in the haystack!
Thanks for the suggestion, when (or if) I find what is causing the problem Ill report back!
Andy
That works perfectly in a new empty stack, but still returns the pie symbol in my app so it must be something else somewhere in the stack that is causing the problem, so Im off to find a needle in the haystack!
Thanks for the suggestion, when (or if) I find what is causing the problem Ill report back!
Andy