Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to convert unicode clipboard text to windows-1251
Message
From
10/03/2017 01:32:59
 
 
To
09/03/2017 17:21:45
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01648885
Message ID:
01648891
Views:
59
Hi!

>?strconv(strconv(_cliptext,11,1251,1),2)

This outputs question marks only.

Windows system locale is Baltic Windows, codepage 1257 .
Maybe _cliptext content is corrupted and it already contains only question marks.

I found working sample in http://www.news2news.com/vfp/?example=316&function=311
Is it OK to use it?

Can uconv in this code replaced with built-in strconv ?
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform