Saludos
Mustafa
*------------------------------------------------------------------------
Hello Andres:
Thanks for the contribution
Your sample generates the same problem accents and also the date is backwards

Hola andres:
Trabaja con el fichero "control.dbf" que está el
original correctamente.
Cuando generas el nuevo "control.XPS" y "control.Pdf"
ami no me sale correcto, mira la muestra.
Acentos y fechas
Saludos
Mustafa
*-------------------------------------------------------
Hello Andres:
Work with the file "control.dbf" which is the
original correctly.
When you generate the new "control.XPS" and "control.Pdf"
I do not get it right, look at the sample.
Accents and dates
regards
Mustafa

Me sale igual que el ejemplo que envié anteriormente
solo que ahora los acentos no están bien.
Quizá se trate de alguna configuracion de Windows ???
O la forma como fueron creados los DBF ???
--------------------------------------------------------------------
I get the same as the example I sent earlier
Only now the accents are not right.
Maybe it's some Windows configuration ???
Or the way DBFs were created ???

*----------------------------------------
Hello Andres:
Are you right it's very weird? , the prg are saved in UTF-8
and with SET CODEPAGE TO UNICODE
I have even modified your sample a bit and the result is
the same.
Well I hope that some "Sage" discover what happens he ... he ...
regards
Mustafa

Seguí con las pruebas...
Y esto es lo que obtengo con estas modificaciones
(solo modifique el .prg)
------------------------------------------------------------------
I continued with the tests ...
And this is what I get with these modifications
(just modify the .prg)

SET CENTURY ON
SET DATE FRENCH
SET NAVIGATION EXTENDED
SET LANGUAGE TO SPANISH //-> Cargo el mi idioma
SET CODEPAGE TO UNICODE // ->Cargo los Unicodes
SET DATE FORMAT TO 'dd/mm/yyyy'
SET EXCLUSIVE OFF
SET WRAP ON
SET DELETE ON

Hi, I think I have something.
To clarify .., everything works for me, the accents, the "ñ", everything, but when I open the file with the DBA tool ..., I get the records that have these characters with illegible signs, unlike what happens with the Mustafa file, which I open and read perfectly. But when I execute the change tool, mine is perfect and Mustafa's is not.
That said I think the KIT of the question is in the coding of the program that creates the initial DBF.