Umlaute aus DBF von VO nach X# nicht korrekt

Deutschsprachiges X#-Forum – German language forum

Moderator: wriedmann

User avatar
Chris
Posts: 4898
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Re: Umlaute aus DBF von VO nach X# nicht korrekt

Post by Chris »

Hi Franz,

You need to open the dbf and load the data (in an array for example) from the OEM dbf with SetAnsi(FALSE), then create and open the new dbf with SetAnsi(TRUE) and save back the data normally, no need to use Oem2Ansi() which will further complicate things, because strings in .Net are unicode anyway. Then use SetAnsi(TRUE) in your actual app to read the new dbfs.

But it's probably not worth the effort anymore, the new X# build should be released early next week and it should be able to properly handle OEM dbfs, so you shouldn't need to do any adjustments anymore.
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
lagraf
Posts: 450
Joined: Thu Jan 18, 2018 9:03 am
Location: A

Re: Umlaute aus DBF von VO nach X# nicht korrekt

Post by lagraf »

Hi Chris,
these are good news, so I stop converting my OEM DBFs now and wait for the new X# version.
Can you please inform me, when it's ready for download?
Franz
User avatar
Chris
Posts: 4898
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Re: Umlaute aus DBF von VO nach X# nicht korrekt

Post by Chris »

Hi Franz,

If not any critical problems are found, it should be out early next week.
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
lagraf
Posts: 450
Joined: Thu Jan 18, 2018 9:03 am
Location: A

Re: Umlaute aus DBF von VO nach X# nicht korrekt

Post by lagraf »

Hi Chris,
is the new version ready for download?
I only see version 2.18.0.4 from 2023-11-01 but this is the version i have already installed.
Franz
User avatar
robert
Posts: 4518
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Re: Umlaute aus DBF von VO nach X# nicht korrekt

Post by robert »

Franz,
It should be out this week. We're polishing a last issue.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
User avatar
Chris
Posts: 4898
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Re: Umlaute aus DBF von VO nach X# nicht korrekt

Post by Chris »

Hi Franz,

The new build is out now, when you get a chance to test it, please let us know if the problem is fixed now!
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
lagraf
Posts: 450
Joined: Thu Jan 18, 2018 9:03 am
Location: A

Re: Umlaute aus DBF von VO nach X# nicht korrekt

Post by lagraf »

Hi Chris,
in Download Area the download still says version 2.18.0.4 from 2023-11-01. Didn't you increase version and date?
Franz
User avatar
Chris
Posts: 4898
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Re: Umlaute aus DBF von VO nach X# nicht korrekt

Post by Chris »

Hi Franz,

Ah, sorry, I had the impression you were subscribed to the FOX program. The new build is only released for subscribers at the moment, but a public version will follow shortly.
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
lagraf
Posts: 450
Joined: Thu Jan 18, 2018 9:03 am
Location: A

Re: Umlaute aus DBF von VO nach X# nicht korrekt

Post by lagraf »

Hi Chris,
I'm already retired for some years and so I only look after my remaining customers and their VO apps. So it doesn't pay off to be fox member. I only transported these apps to X# to give them better possibility for support after me.
Franz
User avatar
Chris
Posts: 4898
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Re: Umlaute aus DBF von VO nach X# nicht korrekt

Post by Chris »

Hi Franz,

Totally understood! And thanks for providing the clipper/harbour app of yours, it has been extremely helpful and may open new opportunities for X#. I will send you a first preliminary version of it running in X# and windows (almost with no code changes), I think you will like it.
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
Post Reply