Author Topic: Problem with special characters in filenames  (Read 670 times)

spielerinternet

  • Jr. Member
  • **
  • Posts: 4
Problem with special characters in filenames
« on: February 04, 2016, 02:31:39 PM »
Every time i sync a folder files with special characters in the filename will be uploaded even if they are equal.

i.e. 216_Shop__Café.html

The same thing in Yummy FTP Pro. I've also tried to set UTF-8 Form c.

What can i do? Or is it a bug?

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2692
Re: Problem with special characters in filenames
« Reply #1 on: February 04, 2016, 03:11:07 PM »
The problem is with the different encodings is that when displayed, they look identical, so I suspect that the server originally needed the UTF-8 Form C option enabled, and enabling afterwards has confused matters.

Can you delete the problematic files from the server then try again? Does that fix the problem?

spielerinternet

  • Jr. Member
  • **
  • Posts: 4
Re: Problem with special characters in filenames
« Reply #2 on: February 05, 2016, 08:04:58 AM »
Hello Guru :-)

yes, you are right. While experimenting with the coding i see that i have to set "Western (Mac OS Roman)" to have the same filenames on source and target. But than the url is not working with the browser.

If i there is no solution for me i have to correct the spelling of the filenames even it is suboptimal for seo.

spielerinternet

  • Jr. Member
  • **
  • Posts: 4
Re: Problem with special characters in filenames
« Reply #3 on: February 06, 2016, 09:22:13 AM »
Ok, the problem is bigger than i thought.

it isn't just a problem of recognizing the difference. The uploaded files with special characters have got broken filenames. If i change the filename with

mv R\?ckenschule.html Rückenschule.html

the file is ok. I know that i shouldn't use those characters in URLs but i have to. I've experimented with different coding and also the UTF8 form c.

The target server is a FreeBSD-Server with LC_ALL=de_DE.UTF-8.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2692
Re: Problem with special characters in filenames
« Reply #4 on: February 06, 2016, 11:35:54 AM »
Ok, I think the only way forward is for me to make a test connection to your server to see what is happening. Can you email me please?

support@yummysoftware.com

spielerinternet

  • Jr. Member
  • **
  • Posts: 4
Re: Problem with special characters in filenames
« Reply #5 on: February 06, 2016, 11:49:56 AM »
Thank you for your reply.

It was a server error. The server didn't "know" that he can do this coding ... or something like that :-)

In the proftp.conf there is now this entry:

Code: [Select]
UseEncoding off
Now it works with UTF-8 Form c!

Thank you for wonderful FTP-software.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2692
Re: Problem with special characters in filenames
« Reply #6 on: February 06, 2016, 02:46:03 PM »
Excellent news! :) You are welcome! Thanks!!