Zen Cart Logo
Forums / Upgrading to 1.5.x / Downloads Manager in V1.51 with utf-8 upgrade does not accept punctuation correctly

Downloads Manager in V1.51 with utf-8 upgrade does not accept punctuation correctly

Views: 681

Results 1 to 4 of 4
21 Nov 2013, 9:47 AM
#1
cphilips avatar

cphilips

New Zenner

Join Date:
Jun 2005
Posts:
18
Plugin Contributions:
0

Downloads Manager in V1.51 with utf-8 upgrade does not accept punctuation correctly

I've fairly successfully upgraded from version 1.38a to 1.51 and also used Dr. Byte's MySQL script to update my database to utf8-general. Problem: in the Downloads Manager, say I input "The Sky's the Limit" for the filename field and click Update. The filename is saved as "The Sky's the Limit" and of course the file is not found (Red dot). However, if I make the same edit in the Attributes Controller and it works fine. (I'm simply typing an English keyboard 'straight' apostrophe in each case.) Does anyone know how to make it work correctly in the Downloads Manager?

21 Nov 2013, 2:10 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Downloads Manager in V1.51 with utf-8 upgrade does not accept punctuation correctly

You should avoid spaces, special characters, including apostrophes in filenames ... just use letters and numbers and you will not have this issue ...

If you want the final filename to have special characters like that, Zip it to a filename without them and when unzipped, they will be there for the customer ...

22 Nov 2013, 5:41 AM
#3
cphilips avatar

cphilips

New Zenner

Join Date:
Jun 2005
Posts:
18
Plugin Contributions:
0

Re: Downloads Manager in V1.51 with utf-8 upgrade does not accept punctuation correctly

Well, that would solve the problem, yes. But I'd like to include the punctuation to match the book titles in question. It just looks more ... literary, even if it's just a zip filename -- it's the first filename the customer sees. Plus, the punctuation can be entered and saved correctly in the Attributes Controller (and PHPMyAdmin), so there's something specifically different in how Downloads Manager's Edit window handles the input. I'd like to find a fix to apply that module so it works like Attributes Controller. Short of that I'll keep my punctuation and edit in the Attributes Controller, which is more step-intensive for updating a bunch of filenames than the Downloads Manager.

22 Nov 2013, 2:29 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Downloads Manager in V1.51 with utf-8 upgrade does not accept punctuation correctly

You could cause issues on the download and it really isn't advised ...