Special Characters (German) are changed

Advertisement

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
31,059
Location:
Prague, Czechia

Re: Special Characters (German) are changed

Please read FAQ. If that does not help, come back.
_________________
Martin Prikryl

Reply with quote

DGorthat
Joined:
Posts:
15

Re: Special Characters (German) are changed

Thanks for your help.

Is there a difference between winscp.exe and winscp.com?

winscp.exe displays and copys the files correktly using drag and drop.
winscp.com leads to the problem.
Both versions use the same stored session.

I tried both settings for UTF8 conversion with the same result for the winscp.com.
Winscp.exe ran into a problem when I set UTF-8 conversion it to ON.
It even did not show all files. Starting the connection I get an error message:
"Whrend der Dekodierung einer UTF-8 Zeichenkette ist ein Fehler aufgetreten."
short: Error dekoding an UTF-8 character string

Files with special characters even do not appear in the directorystructure.

For winscp.com I did not see a difference.

Dirk

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,059
Location:
Prague, Czechia

Re: Special Characters (German) are changed

DGorthat wrote:

Is there a difference between winscp.exe and winscp.com?
Well, yes and no. winscp.com may have possibly problems displaying the special characters correctly. But it saves the file exactly as winscp.exe. So are the files indeed creates with wrong characters or are the wrong characters just shown on the winscp.com console window?
_________________
Martin Prikryl

Reply with quote

DGorthat
Joined:
Posts:
15

Re: Special Characters (German) are changed

martin wrote:

are the wrong characters just shown on the winscp.com console window?

After the download the files themselves are correct.

I am using the ls command to get a file list to compare this with a database.

So the problem is: the names with this special characters will not fit...

Thank you for your help.

Dirk

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
31,059
Location:
Prague, Czechia

Re: Special Characters (German) are changed

So you capture output of the console? Are you aware that Windows console uses different encoding (not Ansi)? You may better try to use XML logging.
_________________
Martin Prikryl

Reply with quote

DGorthat
Joined:
Posts:
15

Re: Special Characters (German) are changed

Yes thats the problem,

I will switch to XML Logging.

Thank you for your help.

Dirk

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,059
Location:
Prague, Czechia

Input to winscp.com has to be in ansi encoding. I do not know VB.Net to show you how to do that.

Reply with quote

Advertisement

You can post new topics in this forum