>>>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 ?
>>
>>The above line worked fine for UTF-8 to cyrillic. And my system locale is 1250, not 1251, so I think it doesn't influence things.
>>
>>There's also the matter of the format of the text you're starting with. Is it UTF-8 (or even 16), is it just Unicode, is it Koi-8R or something else.
>
>I copied text from russian web site from Chrome browser window.
>I dont know which format Chrome places to clipboard but this text can pasted to other windows applications without issues.
>Maybe it is UTF-16 since in my knowldge windows uses UTF 16 everywhere in OS.
>Windows API call shows that there are 5 diffrent formats available for pasting. Not sure which _cliptext chooses.
It uses plain text, with conversion into current codepage (which will surely kill cyrillic text unless UTF-8, which passes fine). Try to avoid _cliptext and, for testing's sake, put the text into a text file, then filetostr() it into a variable. That should avoid conversion, if there was any.