Hello frieds,
My best wishes for the New Year to all !!
Α question:
Is there any function that returns the codepage of a string ?
(eg "ELWIN" or "EL737")
Nikos
Codepage return
Moderator: Rathinagiri
Codepage return
Best Regards,
Nikos.
os: Windows Server 2019 - 64
Nikos.
os: Windows Server 2019 - 64
Re: Codepage return
Hi Nikos
Try:
MsgBox(Set(_SET_CODEPAGE))
Try:
MsgBox(Set(_SET_CODEPAGE))
Re: Codepage return
Thank you very much my friend !
I would like something like this:
WHATCODEPAGE(cString) -> (eg "1253" or "737")
because "cString" may comes from DBF that contains strings with a different codepage format...difficult to explain why
I would like something like this:
WHATCODEPAGE(cString) -> (eg "1253" or "737")
because "cString" may comes from DBF that contains strings with a different codepage format...difficult to explain why
Best Regards,
Nikos.
os: Windows Server 2019 - 64
Nikos.
os: Windows Server 2019 - 64
- serge_girard
- Posts: 3165
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: Codepage return
Nikos,
See : http://harbourlanguage.blogspot.be/2010 ... epage.html
? HB_CDPUNIID( "ESWIN" ) // -> cp1252
This may help?
Serge
See : http://harbourlanguage.blogspot.be/2010 ... epage.html
? HB_CDPUNIID( "ESWIN" ) // -> cp1252
This may help?
Serge
There's nothing you can do that can't be done...
Re: Codepage return
Thank you Serge!
I would see this link. Maybe help. I will let you know.
Nikos
I would see this link. Maybe help. I will let you know.
Nikos
Best Regards,
Nikos.
os: Windows Server 2019 - 64
Nikos.
os: Windows Server 2019 - 64