Coder Social home page Coder Social logo

Enconding error about higlabo HOT 11 CLOSED

higty avatar higty commented on September 26, 2024 1
Enconding error

from higlabo.

Comments (11)

higty avatar higty commented on September 26, 2024 1

Hi.Thank you for your report.
Please describe about class you face exception.Is it SmtpClient or Pop3Client or ImapClient?

regards

from higlabo.

higty avatar higty commented on September 26, 2024 1

It turned out a bug of Rfc2047Converter in HigLabo.Converter project.
I fixed and merge to master and upload new version of HigLabo.Converter.dll(2.0.1) to Nuget.

Please check it out.

from higlabo.

higty avatar higty commented on September 26, 2024 1

Hi.

I moved all library to .NET Core.I will not modify HigLabo in the future.
So, please get latest version of HigLabo.NetStandard from nder https://github.com/higty/higlabo.netstandard.

regards.

from higlabo.

hardway777 avatar hardway777 commented on September 26, 2024

Pop3Client

from higlabo.

higty avatar higty commented on September 26, 2024

Thank you!
I what to know what text you expected if parse executed correctly.I will create test case with your problem.

regards

from higlabo.

hardway777 avatar hardway777 commented on September 26, 2024

Correct text is
Отчёт о движении вагонов с углём АО "Сибуглемет" на терминале ООО "ВСК"

from higlabo.

higty avatar higty commented on September 26, 2024

OK.

I will investigate your problem.
Please wait for few days.

from higlabo.

hardway777 avatar hardway777 commented on September 26, 2024

Also need to remove whitespaces on start of line and end of line.

from higlabo.

higty avatar higty commented on September 26, 2024

I create test code in Rfc2047ConverterTest.cs in HigLabo.Converter.Test project.
See Rfc2047Converter_Basic5 method.
Rfc2047Converter cv = new Rfc2047Converter(); Assert.AreEqual("Отчёт о движении вагонов с углём АО \"Сибуглемет\" на терминале ООО \"ВСК\"" , cv.Decode("=?utf-8?B?0J7RgtGH0ZHRgiDQviDQtNCy0LjQttC10L3QuNC4INCy0LDQ?=\r\n =?utf-8?B?s9C+0L3QvtCyINGBINGD0LPQu9GR0Lwg0JDQniAi0KHQuNCx0YPQs9C7?=\r\n =?utf-8?B?0LXQvNC10YIiINC90LAg0YLQtdGA0LzQuNC90LDQu9C1INCe0J7QniAi?=\r\n =?utf-8?B?0JLQodCaIg==?=\r\n"));
What text do you actually get?

from higlabo.

hardway777 avatar hardway777 commented on September 26, 2024

I download zip of repository and compile all. Then I copy all from d:\Projects\higlabo\HigLabo.Mail\bin\Release\_Net_4_5\
to
<myproject>\Lib\HigLabo\
and add references to it and try to debug project.

screenshot 2018-05-22 001

Message source text (part):
screenshot 2018-05-22 002

Text of message source (part):

Date: Thu, 17 May 2018 17:00:53 +1000
Subject: =?utf-8?B?0J7RgtGH0ZHRgiDQviDQtNCy0LjQttC10L3QuNC4INCy0LDQ?=
 =?utf-8?B?s9C+0L3QvtCyINGBINGD0LPQu9GR0Lwg0JDQniAi0KHQuNCx0YPQs9C7?=
 =?utf-8?B?0LXQvNC10YIiINC90LAg0YLQtdGA0LzQuNC90LDQu9C1INCe0J7QniAi?=
 =?utf-8?B?0JLQodCaIg==?=
Content-Type: multipart/mixed;
        boundary="--boundary_3_70629bba-946f-408a-8bed-32184fdc6853"
Message-ID: <[email protected]>
Received-SPF: fail

from higlabo.

hardway777 avatar hardway777 commented on September 26, 2024

compare

from higlabo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.