[Building Sakai] [Assignment tool ] Zip upload/download does not format special character properly

Cyril Mace cyril.mace at hec.ca
Mon Apr 15 14:55:47 PDT 2013


Hello,

On our Sakai 2.8.1 instance we were having problems with Download 
All/Upload All feature of Assignment tool when using special characters.

For example:

1) A student submit an assignment including a file named 
/*mon_résultat.txt*//
/2) The instructor  downloads all the submissions of the assignment => 
the file name will be changed to /*mon_r*//*e*//*sultat.txt*/ within the 
bulk_download.zip archive.
3) The instructor update the content of the comment.txt file and write a 
comment with special characters (éééééé), then zip it to use the "Upload 
All" feature => the ééé are replaced by ??????characters in the comments 
area.

Has anyone experienced this problem?
We solved it by using the /*org.apache.tools.zip*/ library instead of 
the native/*java.util.zip*/ one and are thinking about doing the same 
for our 2.9.1 instance.
We could make the use of the apache library configurable through a sakai 
property and submit a patch if needed.

Thanks for reading,


-- 
<http://www.hec.ca>
	
Cyril Mace
Analyste-Programmer
Direction des technologies de l'information
hec.ca <http://www.hec.ca>
Agréments 	
3000, chemin de la Côte-Sainte-Catherine, Montréal (Québec) H3T 2A7
Téléphone : 514 340-6000, poste 2199

	
recyclez 		
Pensons à l'environnement
avant d'imprimer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130415/0b4e7f2b/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HEC_149px.png
Type: image/png
Size: 4883 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130415/0b4e7f2b/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hecca.png
Type: image/png
Size: 345 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130415/0b4e7f2b/attachment-0001.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3A-2008.png
Type: image/png
Size: 5127 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130415/0b4e7f2b/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Feuille_25px.jpg
Type: image/jpeg
Size: 20493 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130415/0b4e7f2b/attachment.jpg 


More information about the sakai-dev mailing list