Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-1131

Filenames containing Norwegian Characters not allowed over SFTP in Tectia client

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Major
    • Resolution: Information Provided
    • None
    • None

    Description

      Hi,

      Filenames containing Norwegian, Spanish, French, and German Characters not allowed over SFTP in Tectia client, names are getting messed up

      How can I override the decoding charset in SshServer :

      DecodingCharset is present for SftpClient:

      client.setNameDecodingCharset(Charset.forName("ISO-8859-8"));

      by default it uses UTF-8

      The SftpClient exposes a get/setNameDecodingCharset method which enables the user to modify the charset - even while the SFTP session is in progress 

      After the file is uploaded the Norwegian characters in the filename are replaced with non-readable characters.

      Can we configure the SshServer to override the decoding charset from the default UTF-8? Is there any API to set the SFTP CharsetEncoding (Set the default encoding for filenames in SFTP sessions)

      Attachments

        1. image-2021-02-24-15-38-39-337.png
          117 kB
          Susmit Sarkar

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Susmit07 Susmit Sarkar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: