>Hi,
>>
>> If you have VFP 9 then: STRCONV(cExpression, nConversionSetting [, nRegionalIdentifier [, nRegionalIDType]])
>>
>>nRegionalIDType it's a flag if nRegionalIdentifier is Locale ID, codepage or FontCharSet. (modified)
>
>>
>> cres = STRCONV(CHR(0xc3)+CHR(0x83)+ CHR(0xc2)+CHR(0x9c) ,11 , 1257, 1)
>>
>
>It outputs question mark.
Andrus, you keep trying to decode UTF-8 characters that are not what you think they are.
CHR(0xc3) + CHR(0x83) is the UTF-8 encoding of Latin Capital A with tilde. This does not have a correspondence in code page 1257, therefore the question mark. If you STRCONV() into windows-1252, you'll be able to see à instead.
CHR(0xc2) + CHR(0x9c) is a control character. It does not have a visual representation.
See table
https://www.utf8-chartable.de/unicode-utf8-table.pl?start=128 for details.
----------------------------------
António Tavares Lopes