Coder Social home page Coder Social logo

Character issue in 20201010.0 about swaks HOT 2 CLOSED

jetmore avatar jetmore commented on May 29, 2024
Character issue in 20201010.0

from swaks.

Comments (2)

jetmore avatar jetmore commented on May 29, 2024

gen2.sh.txt

Attached script demonstrates issue on Debian 10.5 system running perl 5.28.1. Reporter was also reproducing on Debian and Devuan systems. Requires locale cs_CZ.UTF-8 (though original reporter is using cs_CZ.utf8(?)). Not reproducible on macOS 10.15.6 using either the system perl (5.18.4) or homebrew's latest (5.32.0)

  • The localized Date header is an unrelated bug and already fixed in git. Both of these statements turned out to be false.
  • The Message-Id and X-Mailer differences are to be expected. test 3 was an attempt to remove irrelevant info
  • At this point I can reproduce it, and for some reason providing a custom data prevents it from happening, which should be enough to dig in to
jetmore@g3:~/Documents/git/swaks/tmp$ ./gen2.sh
OLD = /home/jetmore/Documents/git/swaks/tmp/swaks.20190914.0, swaks.20190914.0 version 20190914.0
NEW = /home/jetmore/Documents/git/swaks/tmp/swaks.20201010.0, swaks.20201010.0 version 20201010.0
test 1 (--dump):
0a1
> Wide character in print at /home/jetmore/Documents/git/swaks/tmp/swaks.20201010.0 line 67.
3c4
< Date: Tue, 13 Oct 2020 07:20:37 -0400
---
> Date: Út, 13 říj 2020 07:20:37 -0400
6,8c7,9
< Subject: klíč Žluťoučký kůň
< Message-Id: <[email protected]>
< X-Mailer: swaks v20190914.0 jetmore.org/john/code/swaks/
---
> Subject: klí� Žluťou�ký ků�
> Message-Id: <[email protected]>
> X-Mailer: swaks v20201010.0 jetmore.org/john/code/swaks/
10c11
< klíč Žluťoučký kůň
---
> klí� Žluťou�ký ků�
test 3 (--dump, --data):

from swaks.

jetmore avatar jetmore commented on May 29, 2024

bisected to 434f494, which introduced the localized Date: header that I thought was irrelevant (this explains the seemingly inexplicable - why using a custom --data prevented the error. The data I was using didn't have the Date header in it). However, fix for localized Date (3a95aa0) also doesn't seem to work on Debian. Need to look at this when I have more time.

from swaks.

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.