omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Python SMB Connection

    Pythonista
    3
    85
    24339
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ccc
      ccc last edited by ccc

      Wild guess but... self.subDirCustomer_Prüfungen = 'Prüfungen'.encode('utf-8')

      1 Reply Last reply Reply Quote 0
      • DavinE
        DavinE last edited by

        @ccc
        Now i get b'Pr\xc3\xbcfungen' as folder Name

        1 Reply Last reply Reply Quote 0
        • cvp
          cvp @DavinE last edited by cvp

          @DavinE said:

          How can i tell mkd to use the utf-8....

          Sorry, my answer guess that you still speak about smb. I just see now that your post uses mkd, thus ftp, sorry.
          I remember an old post here where the problem has been solved with

          ftp.encoding = "utf-8"
          

          Then, I can't help more.

          1 Reply Last reply Reply Quote 0
          • DavinE
            DavinE last edited by

            @cvp
            No Problem

            I find my Solution.
            I removed the encoding = ‚utf-8‘ and it works

            cvp 1 Reply Last reply Reply Quote 0
            • cvp
              cvp @DavinE last edited by

              @DavinE 😂

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB Forums | Contributors