Hi, i want to read over sftp (CKSFtp) directory/files what names can include german umlaute (ä,ö,ü).
Use PHP/Apache on MAC / Linux. Chilkat 126.96.36.199
If CKSFtp reads the directory/file it translates ä to a, ö to o and so on. Therefore i get not the right directory/file names and the common process will break.
Have you any idea to solve this issue?
asked Apr 08 '16 at 09:09
Please use the version of Unicode.
answered Apr 08 '16 at 09:35
I don't understand. I use Chilkat with PHP and Apache as PHP extension. Where i can download it, or how I can use the unicode version of the PHP extensions?
answered Apr 08 '16 at 11:39
I find out that I need set explicit on booth components CKSFtp and CKSftpFIle the Property Utf8 to true.
$sftp->put_Utf8(true); $handle = $sftp->openDir($dir); $dirlist = $sftp->ReadDir($handle); $dirlist->put_Utf8(true);
Then the german umlaute (ä,ö,ü ...) will correct proceed.
answered Apr 08 '16 at 12:34