Dino,
Try the following command to convert lcString from international MS-DOS to ANSI Windows code page:
CPCONVERT(850, 1252, lcString)
HTH
>>In italian language we use accentate letters as: àèìòù
>>Now the problem, I must read a text file with low level functions
>>rec=fget(nFile)
>>when the row to read contain an accentate letter, in variable rec
>>it comes up an unreadable character.
>>How to translate right ?
>>
>>Please help, it's very iportant for me.
>>
>>T.I.A.
>>
>>Dino
>
>Oh no ! :(( It's not a VFP problem but WIN !
>
>I open the txt file with edit (the original txt is created by a dos app. in dos prompt) and it's all right.
>When I open it with wordpad it shows wrong chars !!
>
>Are there win settings to make compatibility dos chars with win chars ?
>
>T.I.A.
>
>Dino
Daniel