Giter Site home page Giter Site logo

Comments (6)

sigurdtheone avatar sigurdtheone commented on May 24, 2024 1

This can be solved by adding "use open ":std", ":encoding(UTF-8)";" to the top of /home//perl5/bin/msgconvert

from email-outlook-message-perl.

ojwb avatar ojwb commented on May 24, 2024 1

There's actually a file which triggers this in the testsuite already, and no other command line options are required:

$ script/msgconvert t/files/plain_uc_wc_unsent.msg
Wide character in print at script/msgconvert line 58.

I'm using Debian unstable.

(I'm not yet sure if this is the same problem or not, but FWIW I'm getting a similar issue in my own code when I request body_str on an Email::MIME object I get from Email::Outlook::Message:

Wide character at /usr/share/perl5/Email/MIME.pm line 376.

I'm in the process of investigating, went to check if someone had reported it already, and found this ticket and that the file I was testing with triggers this issue too.)

from email-outlook-message-perl.

mvz avatar mvz commented on May 24, 2024

If anyone seeing this error can provide the following, that would be great:

  • A msg file that triggers the problem
  • The command line you use to trigger the problem
  • The operating system you're using

from email-outlook-message-perl.

ojwb avatar ojwb commented on May 24, 2024

@mvz I found that the output file in msgconvert used to be set to be :utf8 but that was removed by #7.

In #7 it is mentioned that things are still broken until rjbs/Email-MIME#36 is merged in Email::MIME, but that PR doesn't seem to have gone well and was closed without merging.

It's still unclear to me exactly what's broken and where, but I don't think it's msgconvert (or at least not entirely) as I'm seeing similar issues with my own code.

from email-outlook-message-perl.

ojwb avatar ojwb commented on May 24, 2024

My proposed changes from #17 eliminate this error:

$ perl -Ilib script/msgconvert t/files/plain_uc_wc_unsent.msg
$

(-Ilib is just needed so that the in-tree module is used rather than the system-installed one.)

from email-outlook-message-perl.

mvz avatar mvz commented on May 24, 2024

Thanks for looking into this @ojwb

from email-outlook-message-perl.

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.