Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Rosetta

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Rosetta
    3. Knowledge Articles
    4. Depositing and Exporting Files with Special Characters in the Filename

    Depositing and Exporting Files with Special Characters in the Filename

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Replication Steps
    2. Possible Cause
    3. Manual Fix
    • Product: Rosetta
    • Product Version: 5

    Symptoms

    Depositing (and exporting) files with special characters in the filename (chinese, japanese, latin, or any double byte characters) does not work. Rosetta is not able to locate the filename specified.

    Replication Steps

    1. Reboot Rosetta servers

    2. Deposit (e.g. METS workflow) a package with reference to files contain special characters in the filename.

    3. You will see "Acquiring Failed" error in TA.

    Possible Cause

    If Rosetta was not restarted manually since server boot, the tomcat jvm would start using ANSI/C/POSIX locale variables instead of the OS default.

    Restarting Rosetta application (on all servers) solves the immediate issue

    dps_stop

    dps_start

    Manual Fix

    The script that is executed on OS init is

    /etc/init.d/exlibris

    This script is in charge of initiating Ex Libris' products and processes on the server at boot time of the server
    Currently, this bash script includes the following lines: 

    LC_ALL=C 
    LANG=C 
    export LC_ALL 
    export LANG 

    To fix the issue, comment out these 4 lines as follows:

    #LC_ALL=C 
    #LANG=C 
    #export LC_ALL 
    #export LANG 

     


    • Article last edited: 08-Nov-2018
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Ingest XML files fails in some servers
      • Ingesting METS xml as a file fails validation with error: "Errors returned during metadata extraction; can't find the declaration of element 'mets:mets"
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Content Type
      Knowledge Article
      Language
      English
      Product
      Rosetta
    2. Tags
      This page has no tags.
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved