Archived Forum Post

Index of archived forum posts

Question:

Error loading XML file with german umlaute

Feb 08 '13 at 02:14

Hi Everbody, i need to open xml files which contain german umlaute (Ä,ä,Ö,ö,Ü,ü) in the file name.

This is my code:

CkXmlW root;

root.LoadXmlFile(L"C:/Users/Public/Documents/GreCon/BS7CCx000/Data/Testzentale ABO/Touch Büro.XML");

"LoadXmlFile" failed and "root.LastErrorText" shows me:

ChilkatLog:
  LoadXmlFile:
    path: C:UsersPublicDocumentsGreConBS7CCx000DataTestzentale ABOTouch Büro.XML
    loadFileAnsi:
      openForReadWin32:
        Failed to open file (2)
        localFilePath: C:UsersPublicDocumentsGreConBS7CCx000DataTestzentale ABOTouch Büro.XML
        currentWorkingDirectory: C:src_cBS9ConfigurationKonfiguratorV2MDI
        osErrorInfo: Das System kann die angegebene Datei nicht finden.
        localWindowsFilePath: C:UsersPublicDocumentsGreConBS7CCx000DataTestzentale ABOTouch Büro.XML
      --openForReadWin32
    --loadFileAnsi
    Failed.
  --LoadXmlFile
--ChilkatLog
Why??? Is there anybody who can help me

Thanx in advance Thorsten


Answer

Here's a new build for you to try:

http://www.chilkatsoft.com/preRelease/chilkat-9.4.1-x86-vc10.zip


Answer

For future posts, please surround the contents of the LastErrorText in <pre> and </pre> tags.

Verify that the same problem exists using the latest version of Chilkat. I tested it, and everything worked fine for me.


Answer

Thanx for your quick response. I downloaded the latest version of chilkat software yesterday immediately before I posted my question. What I'am doing wrong?


Answer

I'm using VC++ with Visual Studio 2010. My OS is Windows 7 32 Bit in German.


Answer

Hi Chilkat, the new build works. Thanx a lot.

May the force be with you