Previously : IndusSoft
Synametrics Technologies
Homepage Products Download Purchase Support Forum Partners Contact
Searching tips
.   


Quick Links
Video Tutorials
Industry solutions
Download syncrify

Syncrify » Knowledge base

Document information

Document ID:2087
Subject:Using foreign characters as top level folders
Creation date:6/15/12 5:23 PM
Last modified on:6/15/12 6:00 PM


Foreign characters in file names

It is very common to have non-English characters in file names. In most cases Syncrify will work correctly out of the box. However, in certain cases you may have to change a few configuration parameters. Therefore, consider using the following suggestions only if you are running into problems backing up files containing non-English characters.

Handing foreign characters on client side

Syncrify uses XML to store profile information on the client machine. The very first line (prolog) contains encoding for an XML file. If this encoding does not cover the characters used in top-level folders, that folder won't get backed up. Use the following steps to specify a custom encoding.

IMPORTANT These steps only matter if a top-level folder uses foreign characters. No modification is required if deeper files/folders contain foreign characters in their name.


Windows
  • Locate SyncrifyClient.lax file in the installation folder. Open this file in any editor, such as Notepad
  • Search for a line starting with:

    lax.nl.java.option.additional=
  • Add -Dprofile.encoding=ISO8859_8 towards the end of this line. In this example, ISO8859_8 is the character set used for Hebrew characters. Refer to this page for a complete list of available character sets. If this line does not exist, create a new one. After modification the line should look like:

    lax.nl.java.option.additional=-Dprofile.encoding=ISO8859_8
  • Save the file


Linux
  • Specify -Dprofile.encoding=ISO8859_8 as a command line argument.
  • For example:

    java -Dprofile.encoding=ISO8859_8 -jar SyncrifyClient.jar


Handing foreign characters on server side

By default Syncrify server uses UTF-8 to handle characters, which covers most languages in the world and therefore, you should not have to do anything. However, if things are not working as expected, try putting the following lines in $INSTALL_DIR\config\server.properties file:

sun.jnu.encoding=ISO8859_8
file.encoding=ISO8859_8
Server running on Linux
It is very important that environment variable $LANG is setup correctly on your Linux machine. If the value of $LANG is not correctly setup, the OS won't read file names correctly and you will end-up getting error messages in Syncrify.

The value for $LANG gets set when machine boots. However, if Syncrify gets launched before the script that sets $LANG is invoked, Syncrify won't know about this value. Therefore, we recommend you set the value for $LANG in the script that starts up Syncrify. This is done by adding the following line to the launch script.

export LANG="en_US.UTF-8" - bash shell
set LANG="en_US.UTF-8" - C shell




Add a comment to this document

Do you have a helpful tip related to this document that you'd like to share with other users? Please add it below. Your name and tip will appear at the end of the document text.
Your name:
Your email:
Hide my email address
Verification code:
Enter the verification code you see above more submitting your tip
Tip:Please limit tips to 1000 characters


Site map | Contact | Products | Support
Powered by 10MinutesWeb.com