You're welcome.
>Yes, it was unicode
>
>I have put 2 as the efalgs parameter in the strtofile and it's working fine now
>
>TEXT TO lcXml NOSHOW TEXTMERGE PRETEXT 7
><
>
><>
><>
><>
><>
><>
><>
><>
><>
>ENDTEXT
>
>lcXml=STRCONV(STRCONV(ALLTRIM(lcXml),1),5)
>STRTOFILE(lcXml,tcFichier,2)
>
>Thank's
>
>Benoit
--sb--