Title: Message Title
|
|
Issue Type:
|
Bug
|
Assignee:
|
Unassigned
|
Created:
|
07/Jan/14 9:00 AM
|
Priority:
|
Minor
|
Reporter:
|
Hayden Young
|
|
I am trying to export a record from one dspace instance to another. Using the export cmd line tool, I have successfully exported a record but upon opening the resulting zip file I notice that the file name has invalid characters where some non-english characters have been used. Example: Using: # ./dspace export -t ITEM -z 123456789_391.zip -d /tmp/ -i 123456789/391 -n 1 I am able to export the record successfully, but the bitstream file called Masterthesis_Midtgård.pdf gets renamed to Masterthesis_Midtg├еrd.pdf (note the pipe/dash symbol). My machine's locale settings are all UTF-8: # echo $LANG en_US.UTF-8 # cat /etc/default/locale LANG="en_US.UTF-8" # locale -a C C.UTF-8 en_AG en_AG.utf8 en_AU.utf8 en_BW.utf8 en_CA.utf8 en_DK.utf8 en_GB.utf8 en_HK.utf8 en_IE.utf8 en_IN en_IN.utf8 en_NG en_NG.utf8 en_NZ.utf8 en_PH.utf8 en_SG.utf8 en_US.utf8 en_ZA.utf8 en_ZM en_ZM.utf8 en_ZW.utf8 POSIX I've even tried overriding the JAVA_OPTS variable to no avail: # export JAVA_OPTS="-Xmx512M -Xms64M -Dfile.encoding=UTF-8" # ./dspace export -t ITEM -z 123456789_391.zip -d /tmp/ -i 123456789/391 -n 1 I can access the file Masterthesis_Midtgård.pdf within XMLUI and via the REST API so I don't think it is a Tomcat issue. Any help much appreciated.
|
|
|
|
|
|
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel