Page 1 of 1
DBF and PRG to UTF8
Posted: Wed Feb 10, 2021 10:03 pm
by radohabjan
Hello friends,
are there any tools to convert DBF's and PRG's from ANSI to UTF8 ( I have a lot of files )
br Rado
Re: DBF and PRG to UTF8
Posted: Thu Feb 11, 2021 9:06 am
by tonton2
je crois que quelque chose comme ça a été faite par notre très cher ami ESGICI
Re: DBF and PRG to UTF8
Posted: Thu Feb 11, 2021 2:44 pm
by dragancesu
1. DBF is a simple format and is not intended for it, I'm not sure it should be
2. use an editor that has this capability, see notepad++
Re: DBF and PRG to UTF8
Posted: Thu Feb 11, 2021 4:15 pm
by serge_girard
Our member Kevin (KCARMODY) is UTF8 expert and will surely know.
Or Rathi ?
Re: DBF and PRG to UTF8
Posted: Thu Feb 11, 2021 4:24 pm
by Claudio Ricardo
Hi...
In Notepad++ , "Config" , "Preferences" , "New File" ... mark "UTF-8 without BOM" and "Apply to ANSI file open" .
Open you ansi file and save.
Or open you file, "Encoding" , "Convert to UTF-8 without BOM" , and Save.
Re: DBF and PRG to UTF8
Posted: Fri Feb 12, 2021 7:59 am
by radohabjan
Thx for the answers.
I'm using Notepad++ and I know for this functions, but I have a lot of prg's, so I will need more time and deal with two versions (ANSI and UTF8).
br Rado
Re: DBF and PRG to UTF8
Posted: Fri Feb 12, 2021 8:01 am
by serge_girard
you could a write a simple PRG that reads-in the ANSI PRG and rewrite them to UTF8 (with aonther name, best)
Serge
Re: DBF and PRG to UTF8
Posted: Fri Feb 12, 2021 10:35 am
by AUGE_OHR
radohabjan wrote: ↑Fri Feb 12, 2021 7:59 am
I'm using Notepad++ and I know for this functions, but I have a lot of prg's, so I will need more time and deal with two versions (ANSI and UTF8).
as i can say you need to convert only when have sign > CHR(128) which is in 1/100 of my Source Code.
i do copy those Source Code into 1 x *.PRG so i have to take care only on 1 x *.PRG for OEM / ANSI / UFT8