Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using extended font characters
Message
From
15/12/2003 11:07:12
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00858648
Message ID:
00859132
Views:
23
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
Map
View

Click here to load this message in the networking platform