The part that has me stumped is how to "upconvert" the characters used in the *.act file. If I look at the MS character mapping utility, Arial has the line characters I need, but way above the values accepted by chr(). I would love to be able to filetostr(*.act file) replace the foxfont line chars with something that would print and strtofile() it back to disk.
For example, one of the line chars is 196 which works in FoxFont but is an A with an accent mark in Arial. The character I need to use is a +U-250C (9484) according to the MS character map utility. I can't write chr(9484) of course, so I'm stumped on how to take an *.act file and translate the line characters to something that I can print.
STRCONV(????,12)
STRCONV(chr(9484),12) && Boom!
STRCONV(9484,12) && Boom!
STRCONV(chr(0x250C),12) && Boom!
I can open the act file in Word and replace the chars that way and always keep it as a Word doc. Not my preference, but that may be the only way.
Thanks.
Gary
>>-------
>>I'm not sure that it what you're looking for, but STRCONV(,12) finction in VFP7 and later can convert data to Unicode.
>>----------
>>
>>Not if it's FoxPro strings, unless he first converts the FoxPro strings to UTF-8 <s>.
>>
>>He probably needs STRCONV(..,5) rather than ,12 IOW.
>>
>>>L<
>
>Thanks for catching it. :)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only