Topic "Internal Editor|Notepad ++ UTF-8 BOM Saving Error with FTP"

Author Message
Abziehbildhled
[View user's profile]

Joined: 2013-12-06
Posts: 4
Location: Zurich
Hi guys,

I'm able to reproduce the following errorcase on an FTP Connection with WinSCP 5.1.8 (Build3799) - should be latest - just downloaded Wink

This is what I do:

- Copy an UTF-8 BOM saved file on my local machine to a FTP directory
- Open it up with Internal Editor or Notepad ++
- Take a look at the encoding: Notepad++ tells me: UTF-8 WITHOUT BOM

It's totally the same if I transfer an UFT-8 BOM file to the FTP Server and open it up on the server with both of the editors - add a space somewhere - and save it again. The next time I open it up and take a look at the encoding - it's UTF-8 WOTHOUT BOM ...

Screenshots could be provided, as well as TeamViewer Session for a showcase!

Any help appreciated!

Best regards

Jörn
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24554
Location: Prague, Czechia
Please upgrade to 5.2.x:
http://winscp.net/tracker/show_bug.cgi?id=842
_________________
Martin Prikryl
Abziehbildhled
[View user's profile]

Joined: 2013-12-06
Posts: 4
Location: Zurich
Hi Martin,

I just upgraded to 5.2.7 and I am able to reproduce the error.

In the preferences the "remove BOM" is not selected in any transfer mode (text,binary ..)

Do you need some screenshots to reproduce the error or a teamviewer session? I'm able to provide both!

Any help appreciated Wink

Best regards from Zurich, Switzerland

Jörn
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24554
Location: Prague, Czechia
Abziehbildhled wrote:
Do you need some screenshots to reproduce the error or a teamviewer session? I'm able to provide both!

Yes please.
_________________
Martin Prikryl
Abziehbildhled
[View user's profile]

Joined: 2013-12-06
Posts: 4
Location: Zurich
prikryl wrote:
Abziehbildhled wrote:
Do you need some screenshots to reproduce the error or a teamviewer session? I'm able to provide both!

Yes please.


There you go!
WINSCP_20131211_ERROR_BOM_2.png (348.47 KB) [Download]

Description: After Saving with WinSCP
Have a look at my comment JFI ÄÜÄÖ in line 2!

WINSCP_20131211_ERROR_BOM_1.png (281.91 KB) [Download]

Description: Before Saving with WINSCP

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24554
Location: Prague, Czechia
Sorry, this does not really help. I need more details about the steps that you do. Or record a video as you have suggested.
_________________
Martin Prikryl
Abziehbildhled
[View user's profile]

Joined: 2013-12-06
Posts: 4
Location: Zurich
Hi Martin,

Here is a list of steps what I do:

1) open up an FTP connection
2) Open up one specific file (could be any) on the live serverm with Internal Editor or Notepad ++
3) Check the Encoding of the file (UTF8 BOM)
4) Write some text in it
5) Save the file (and close it)
6) Open it up once again
7) Check the encoding (UTF8 without BOM)

It would be totally the same, if I do the process of changing a file locally and transfer the file with WINSCP! The error has to be on the transfer!!

You could contact me through my skype account "Abziehbildheld" whenever it fits you (today in the afternoon would fit perfectly). I will be able to invite you to a teamviewer (teamviewer.com) session and show you the process of causing this error - if this is still an issue for you.

Appreciating your help.

Best regards
Jörn
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24554
Location: Prague, Czechia
It was FTP protocol that made the difference.
Added to tracker:
http://winscp.net/tracker/show_bug.cgi?id=1096

I have sent you an email with a dev version of WinSCP to address you have used to register on this forum.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License