Subject: Re: [sup-talk] Umlauts broken

From: Sebastian Lipp <[email-masked]>
Date: Sat, 25 May 2013 16:32:37 +0200

On 2013-05-24 04:22, Gaute Hope wrote:
> On 24. mai 2013 13:59, Sebastian Lipp wrote:
> > Just tried to install (via gem) and run it via rbenv under ruby
> > 1.9.3-p327 and 1.9.3-p392.  With both I have the problem that characters
> > like Umlauts are not show correctly. For example: "ä" becomes "\xe4".
> 
> Don't have the chance to go investigate much atm, but it could be
> related to RMail and the usual lack of correct UTF-8 handling. I would
> suggest you open an issue here though:
> 
> 	https://github.com/sup-heliotrope/sup/issues?state=open
> 
> otherwise it can easily disappear away..

Do you thing my description is good enough to open a new issue?

> If you are bold enough #61
> (https://github.com/sup-heliotrope/sup/pull/61) have initial Mail
> support for ruby 2.0, it would be interesting to see if the problem is
> present there.

After bundle install and the branch's checkout it failed to load syck. A
`gem i syck` later it fails With

  syck has been removed
  /home/bacuh/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
  `require':
  /home/bacuh/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rmail-1.0.0/lib/rmail/address.rb:694:
  invalid multibyte escape: /\A[\200-\377\w!$%&\'*+\/=?^_\`{\}|~#-]+/m
  (SyntaxError)

If you have a quick resolution for that I can go on and see if the
encoding problems still exist on this branch.

LG
basti

-- 
react!OR               ::         Frühlingstr. 17 | 87439 Kempten
selbstverwaltetes JuZe :: Infoladen | Umsonstladen | Offener Raum
https://react.or.ke    ::                  Telefon: 0831 52623689
 
Der react!OR lebt von Dingen, die anderswo übrig sind. Aktuell gesucht:
Mehrfachstecker, Verlängerungskabel, Nähmaschine, Diktiergerät, 
Papierschneidebrett, Dosenöffner ... mehr: <https://react.or.ke/suche>
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Gaute Hope <[email-masked]>
Date: Fri, 24 May 2013 16:22:51 +0200

On 24. mai 2013 13:59, Sebastian Lipp wrote:
> Hi.
> 
> I was really happy as I heard, that sup is actively developed again. Too
> long time ago I had to leave sup because it got broken more and more...
> 
> When setting $SUP_LOG_LEVEL to debug I get several of those lines:
> 
>   couldn't transcode text from ASCII (ASCII) to UTF8 ("<20130523193529.GB30"...): got String::CheckError (unexpected encoding ASCII-8BIT)
> 
> I'm not sure if this is related to my encoding problems. Any of those
> lines seem to be referencing to header lines.
> 
> I was long enough without sup so I can wait for the compatibility with
> ruby 2.0.0 but I would really prefer to sup again sooner.
> 
> So have you any solution, work-around or patch at hand for this problem
> or do you have any idea how I can help debug this problem?
> 
> LG
> basti
> 

Hi Sebastian,

Note: this branch is incomplete and not usable yet for sending mail.

Also, hold on to problematic emails for testing later!

Regards, Gaute

---

From: Sebastian Lipp <[email-masked]>
Date: Fri, 24 May 2013 13:59:14 +0200

Hi.

LG
basti

---

From: Gaute Hope <[email-masked]>
Date: Sat, 25 May 2013 17:07:23 +0200

> encoding problems still exist on this branch.

The pull request hasn't been merged into the official repo yet, so you'd
have to grab it from my repo:

	git://github.com/gauteh/sup.git

(neither syck nor rmail is required)

Yes, I think so, these issues are diffuse.. but they re-appear all the
time. With a test-email to reproduce the issue things get easier.

Regards, Gaute