Menu

#4 Encoding

2.0
accepted
2020-04-08
2014-12-23
No

Custom encoding isn't supported.
Unicode is not correctly found and set in some languedges. (Please add your languedges in comments so we can add priorities and testings).

Related

Tickets: #4

Discussion

1 2 > >> (Page 1 of 2)
  • Araz Farhang Dareshuri

    No we do not have encoding now but that's good to have it. We are considering adding the encoding in our next releases.

    Thanks.

     

    Last edit: Araz Farhang Dareshuri 2014-12-24
  • Araz Farhang Dareshuri

    • labels: --> encoding
    • Milestone: 1.0 --> 2.0
     
  • Araz Farhang Dareshuri

    Encoding is supported now

     
  • Araz Farhang Dareshuri

    • status: open --> closed
     
  • Tomaž Dagarin

    Tomaž Dagarin - 2015-05-19

    Hello,

    please give me some example of using encoding in MimeMailMessage (AegisImplicitMail)

    In my case
    mymessage.BodyEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2") and
    mymessage.SubjectEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2")
    don't work.

    Best regards.

    Tomaž

     
    • Araz Farhang Dareshuri

      Dear dagstone

      What is the error u r facing?

      On Tuesday, May 19, 2015, "Tomaž Dagarin" dagarins@users.sf.net wrote:

      Hello,

      please give me some example of using encoding in MimeMailMessage
      (AegisImplicitMail)

      In my case
      mymessage.BodyEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2") and
      mymessage.SubjectEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2")
      don't work.

      Best regards.

      Tomaž

      Status: closed
      Milestone: 2.0
      Labels: encoding
      Created: Tue Dec 23, 2014 12:36 PM UTC by Sergey Kuznetsov
      Last Updated: Mon Jan 19, 2015 04:21 AM UTC
      Owner: nobody

      Custom encoding isn't supported.

      Maybe need set utf-8 by default?

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/netimplicitssl/tickets/4/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      Sent from Gmail Mobile

       

      Related

      Tickets: #4

      • Tomaž Dagarin

        Tomaž Dagarin - 2015-05-20

        Hello Araz Farhang Dareshuri,

        in my code mymessage.Subject and mymessage.Body I would like to use Slovenian characters such as "šđčćž" but when I use them as a result I get question mark such as "?????".

        In other programs I use
        mymessage.BodyEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2")
        mymessage.SubjectEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2")
        and it works.

        My code:

        Dim mail As String = "my e-mail"
        Dim host As String = "my host"
        Dim user As String = "my username"
        Dim pass As String = "my password"

        Dim mymessage = New MimeMailMessage()
        mymessage.From = New MimeMailAddress(mail)
        mymessage.To.Add(mail)

        mymessage.IsBodyHtml = True
        mymessage.Subject = "naslov šđčćž"
        mymessage.Body = "besedilo ŠĐČĆŽ"
        mymessage.BodyEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2")
        mymessage.SubjectEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2")

        Dim mailer As New SmtpSocketClient(host, 465)
        mailer.User = user
        mailer.Password = pass
        mailer.SslType = SslMode.Ssl
        mailer.AuthenticationMode = AuthenticationType.Base64

        mailer.SendMail(mymessage)

        Thanks for your help.

        Best regards.

        Tomaž

         
        • Araz Farhang Dareshuri

          Dear Tomaz,
          We are checking the issue , I will update you as soon as I get the results

          Thanks for your patience

          On Wednesday, May 20, 2015, "Tomaž Dagarin" dagarins@users.sf.net wrote:

          Hello Araz Farhang Dareshuri,

          in my code mymessage.Subject and mymessage.Body I would like to use
          Slovenian characters such as "šđčćž" but when I use them as a result I get
          question mark such as "?????".

          In other programs I use
          mymessage.BodyEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2")
          mymessage.SubjectEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2")
          and it works.

          My code:

          Dim mail As String = "my e-mail"
          Dim host As String = "my host"
          Dim user As String = "my username"
          Dim pass As String = "my password"

          Dim mymessage = New MimeMailMessage()
          mymessage.From = New MimeMailAddress(mail)
          mymessage.To.Add(mail)

          mymessage.IsBodyHtml = True
          mymessage.Subject = "naslov šđčćž"
          mymessage.Body = "besedilo ŠĐČĆŽ"
          mymessage.BodyEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2")
          mymessage.SubjectEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2")

          Dim mailer As New SmtpSocketClient(host, 465)
          mailer.User = user
          mailer.Password = pass
          mailer.SslType = SslMode.Ssl
          mailer.AuthenticationMode = AuthenticationType.Base64

          mailer.SendMail(mymessage)

          Thanks for your help.

          Best regards.

          Tomaž

          Status: closed
          Milestone: 2.0
          Labels: encoding
          Created: Tue Dec 23, 2014 12:36 PM UTC by Sergey Kuznetsov
          Last Updated: Tue May 19, 2015 12:18 PM UTC
          Owner: nobody

          Custom encoding isn't supported.

          Maybe need set utf-8 by default?

          Sent from sourceforge.net because you indicated interest in
          https://sourceforge.net/p/netimplicitssl/tickets/4/

          To unsubscribe from further messages, please visit
          https://sourceforge.net/auth/subscriptions/

          --
          Sent from Gmail Mobile

           

          Related

          Tickets: #4

  • Tomaž Dagarin

    Tomaž Dagarin - 2015-06-11

    Hello Araz Farhang Dareshuri,

    do you have any information about my problem?

    Thanks for your help.

    Best regards.

    Tomaž

     
    • Araz Farhang Dareshuri

      We are truly sorry , we found a huge bug in our encoding and trying to rectify as soon as possible

       
      • Tomaž Dagarin

        Tomaž Dagarin - 2015-08-03

        Hello Araz Farhang Dareshuri,

        do you have any new information about encoding?

        Thanks for your reply.

        Best regards.

        Tomaž

         
      • Diego Hernando

        Diego Hernando - 2015-08-11

        Hi Araz Farhang Dareshuri,

        There's any fix to this?

        Thank you very much

        Kind regards

         
  • Araz Farhang Dareshuri

    Dear Diego,
    Thanks for your comment. This issue is our first priority but since we are open source and there are planty of unicodes it's not that easy for us to confirm all languedges and release. We would appriciate if anyone wants and can vulanteer for testing

     
    • Stefan Pataky

      Stefan Pataky - 2015-09-15

      Hi, I am using yours AIM client and encoding is also one of my priority(Czech and Slovak language). If you need help with testing or bug fixing, please count me in ;-)

       
      • Araz Farhang Dareshuri

        Hi, I will appriciate if you can provide your email, send me a message please

         
  • Sérgio Coutinho

    Hi Araz,
    Great package your doing here! If you are interested I'm able to contribute for testing de enconding.

    Kind regards.

     
    • Araz Farhang Dareshuri

      Thanks Dear Sergio, please give me an email address so I can send you the latest fixes

       
  • Stefan Pataky

    Stefan Pataky - 2015-09-30

    Hi, I tested library and encoding fix didn't work. Also, is everything OK with this link? Visual studio marked dll version as 1.0.0.1, but from Nuget i get version 1.0.0.2

     
    • Araz Farhang Dareshuri

      I am truly sorry, my mistake, I forgot to push my latest commits, would you please retry? May I know which languedge are you using?

      Thanks a lot

       

      Last edit: Araz Farhang Dareshuri 2015-10-02
  • George Bakoyannis

    Hello and from me, I am from Greece and I have same issue with greek.
    I want to help, there is something I can do and/or to look?

    Thx

     
  • Erik Rocha Witkowski

    I think my previous commit solves this matter

     
  • Bùi Văn Nhân

    Bùi Văn Nhân - 2017-07-22

    Hi Araz Farhang Dareshuri,

    I'm using 1.0.3.0

    mailMessage.SubjectEncoding = Encoding.UTF8;//(unicode for vietnamese)
    mailMessage.Subject = "tiếng việt";

    There's any fix to this?

    Thank you.

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.