Codepage, hb_Translate(), OEM <-> ANSI

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
mol
Posts: 3808
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Codepage, hb_Translate(), OEM <-> ANSI

Post by mol »

if substr(cText_Path, -1) <> "\"
cText_Path += "\"
endif
jozef
Posts: 24
Joined: Sat Apr 02, 2016 4:53 pm
DBs Used: DBF
Location: Bratislava, Slovak Republic

Re: Codepage, hb_Translate(), OEM <-> ANSI

Post by jozef »

Hi Jimmy,
I started to move from ANSI version to UNICODE version of HMG. Your convert program is very usefull.
Thank you,
Jozef
User avatar
AUGE_OHR
Posts: 2102
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: Codepage, hb_Translate(), OEM <-> ANSI

Post by AUGE_OHR »

hi,

here full Source of App
CONVERT_Source.ZIP
(23.99 KiB) Downloaded 14 times
Last edited by AUGE_OHR on Sat Jan 10, 2026 8:27 pm, edited 1 time in total.
have fun
Jimmy
franco
Posts: 899
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

Re: Codepage, hb_Translate(), OEM <-> ANSI

Post by franco »

You could put it ahead of the extra procedure.

Code: Select all

  cDir := GetFolder( cTitle, TRIM( cInitPath ),, lNewFolderButton )
   IF !EMPTY( cDir )
       IF RAT( "\", cDir ) <> LEN(cDir)
                 cDir += "\"
       ENDIF
      ExportDbf.Text_Path.value := cDir                                //+ "\"  // add "\"
   ENDIF
All The Best,
Franco
Canada
Post Reply