DBF and PRG to UTF8

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

Post Reply
radohabjan
Posts: 99
Joined: Mon Nov 30, 2009 7:17 am
Location: Slovenia
Contact:

DBF and PRG to UTF8

Post 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
User avatar
tonton2
Posts: 444
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: DBF and PRG to UTF8

Post by tonton2 »

je crois que quelque chose comme ça a été faite par notre très cher ami ESGICI
L'Algerie vous salut
Y.TABET
User avatar
dragancesu
Posts: 921
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Re: DBF and PRG to UTF8

Post 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++
User avatar
serge_girard
Posts: 3167
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: DBF and PRG to UTF8

Post by serge_girard »

Our member Kevin (KCARMODY) is UTF8 expert and will surely know.
Or Rathi ?
There's nothing you can do that can't be done...
User avatar
Claudio Ricardo
Posts: 367
Joined: Tue Oct 27, 2020 3:38 am
DBs Used: DBF, MySQL, MariaDB
Location: Bs. As. - Argentina

Re: DBF and PRG to UTF8

Post 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.
Corrige al sabio y lo harás más sabio, Corrige al necio y lo harás tu enemigo.
WhatsApp / Telegram: +54 911-63016162
radohabjan
Posts: 99
Joined: Mon Nov 30, 2009 7:17 am
Location: Slovenia
Contact:

Re: DBF and PRG to UTF8

Post 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
User avatar
serge_girard
Posts: 3167
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: DBF and PRG to UTF8

Post 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
There's nothing you can do that can't be done...
User avatar
AUGE_OHR
Posts: 2064
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: DBF and PRG to UTF8

Post 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
have fun
Jimmy
Post Reply