File with German Umlaute -> Directory() ?

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
AUGE_OHR
Posts: 2062
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: File with German Umlaute -> Directory() ?

Post by AUGE_OHR »

hi,
Carlos Britos wrote: Wed Oct 07, 2020 5:19 pm Hi, you dont need to put A or W. these are settled in the headers files, so you can call one function without adding the suffix A/W
which Header Files :?:

i talk about my own HMG_Calldll() which HMG don´t have

Code: Select all

   // set the search
   IF hb_cdpSelect() = "UTF8"
      nRet := DllCall( nDLL,, "Everything_SetSearchW", cMask )
   ELSE
      nRet := DllCall( nDLL,, "Everything_SetSearchA", cMask )
   ENDIF
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2062
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: File with German Umlaute -> Directory() ?

Post by AUGE_OHR »

more Problem with Filename from Email Attachment
"Rot-Grün – die letzte Bastion der „Biodeutschen“ - Hamburger Abendblatt.pdf"
you can see "Umlaut" but inside are „ “ -> " "
i wonder how Explorer can show Quotes in a Filename but you can´t load it with xBase

so i also need

Code: Select all

   IF AT(CHR(34),cName) > 0
      cName := STRTRAN(cName,CHR(34),CHR(39))
   ENDIF
have fun
Jimmy
User avatar
serge_girard
Posts: 3165
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: File with German Umlaute -> Directory() ?

Post by serge_girard »

Directories with non-ASCII is .... asking for troubles?

Serge
There's nothing you can do that can't be done...
User avatar
AUGE_OHR
Posts: 2062
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: File with German Umlaute -> Directory() ?

Post by AUGE_OHR »

hi,
serge_girard wrote: Fri Oct 09, 2020 7:40 am Directories with non-ASCII is .... asking for troubles?
it is APPLE and iOS :roll:
have fun
Jimmy
User avatar
serge_girard
Posts: 3165
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: File with German Umlaute -> Directory() ?

Post by serge_girard »

APPLE and iOS: more trouble ! :D
There's nothing you can do that can't be done...
Post Reply