Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:gerer_les_noms_de_fichiers_avec_des_caracteres_speciaux [2017/10/25 15:45] (current)
Gino MARCHETTI created
Line 1: Line 1:
 +
 +====== Manage the file names with special characters ======
 +
 +\\
 +\\
 +
 +=====  Introduction ​ =====
 +
 +File names containing special characters such as the Latin accented characters (éèîîàç ...) can cause handling problems with the different transfer tools and command mode terminals.\\
 +\\
 +To properly handle special characters, the whole process must be performed in unicode (UTF-8). Personal stations already manage unicode since they know how to display file names in Japanese, Arabic or Latin without problems.\\
 +\\
 +Issues related to accented characters appear during distant systems var transfers with tools that more or less manage correctly the local and remote system charset.
 +=====  Interactive machines charset in CC-IN2P3 ​ =====
 +
 +By default, CC-IN2P3 Linux machines do not support file names displayed in Unicode.\\
 +\\
 +To display file names in Unicode (UTF-8), you must set LC_ALL and LANG variables as follows:
 +<​code>​
 +setenv LANG fr_FR
 +setenv LC_ALL fr_FR.UTF-8
 +</​code>​
 +You must then make sure that your command terminal can handle unicode (UTF-8). To set UTF-8 in Putty, for example:\\
 +**\\
 +"PuTTY Configuration"​ -> "​Window"​ -> "​Translation"​ -> "​Remote chararcter set" -> "​UTF-8"​\\
 +**
 +=====  Managing unicode with SSH transfer tools  =====
 +
 +Some sftp clients do not know how to handle UTF-8. Depending on the operating system you use, you must make sure that your client is handling the UTF-8 correctly.
 +====  Windows client ​ ====
 +
 +Under windows, the software "​[[http://​filezilla.fr/​|FileZilla]]"​ manages by default the transfers in UTF-8. You have nothing to add to default settings.
 +====  Linux/Mac client ​ ====
 +
 +In unix environment,​ you can use the sftp command directly. If your client is installed in UNICODE (UTF-8) then you have nothing to configure for your transfers in UTF-8.\\
 +\\
 +You may also use the FileZilla graphic client for your transfers
 +
 +
 +
  
  • en/gerer_les_noms_de_fichiers_avec_des_caracteres_speciaux.txt
  • Last modified: 2017/10/25 15:45
  • by Gino MARCHETTI