Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Umlauts broken
@ 2013-05-24 11:59 Sebastian Lipp
  2013-05-24 14:22 ` Gaute Hope
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Lipp @ 2013-05-24 11:59 UTC (permalink / raw)
  To: sup-talk

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...

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".

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

-- 
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
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [sup-talk] Umlauts broken
  2013-05-24 11:59 [sup-talk] Umlauts broken Sebastian Lipp
@ 2013-05-24 14:22 ` Gaute Hope
  2013-05-25 14:32   ` Sebastian Lipp
  0 siblings, 1 reply; 4+ messages in thread
From: Gaute Hope @ 2013-05-24 14:22 UTC (permalink / raw)
  To: Sebastian Lipp; +Cc: sup-talk



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...
> 
> 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".
> 
> 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,

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..

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.

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

Also, hold on to problematic emails for testing later!

Regards, Gaute


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [sup-talk] Umlauts broken
  2013-05-24 14:22 ` Gaute Hope
@ 2013-05-25 14:32   ` Sebastian Lipp
  2013-05-25 15:07     ` Gaute Hope
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Lipp @ 2013-05-25 14:32 UTC (permalink / raw)
  To: sup-talk

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
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [sup-talk] Umlauts broken
  2013-05-25 14:32   ` Sebastian Lipp
@ 2013-05-25 15:07     ` Gaute Hope
  0 siblings, 0 replies; 4+ messages in thread
From: Gaute Hope @ 2013-05-25 15:07 UTC (permalink / raw)
  To: Sebastian Lipp; +Cc: sup-talk



On 25. mai 2013 16:32, Sebastian Lipp wrote:
> 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.

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-25 15:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-24 11:59 [sup-talk] Umlauts broken Sebastian Lipp
2013-05-24 14:22 ` Gaute Hope
2013-05-25 14:32   ` Sebastian Lipp
2013-05-25 15:07     ` Gaute Hope

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox