>Visual FoxPro 9 grid control text field contains russian characters. Font charset is set to Cyrillic.
>
>If russian text is pasted from web page to this field, ??? characters appear instead of russian letters.
>
>I tried
>
> CLEAR
> _screen.FontCharSet= 204
>
> cContents = STRCONV(_cliptext,9,1251,1)
> ?ccontents
> cContents = STRCONV(_cliptext,6,1251,1)
> ?ccontents
> cContents = STRCONV(cContents,9,1251,1)
> ?ccontents
>
> FOR i=1 TO 15
> ?i,STRCONV(_cliptext,i)
> ENDFOR
>
>But russian characters do not appear in any line.
>For example, Аналитика in clipboard produces attached output
>
>How to convert russian clipboard data to windows 1251 encoding ?
>
>Can some Foxpro or windows API function used for this ?
>
>Posted also in
http://stackoverflow.com/questions/42705818/how-to-convert-cyrillic-clipboard-text-to-windows-1257-encoding?strconv(strconv(_cliptext,11,1251,1),2)