Edit Sup Issue: issue47

Summary
Issue type Status
Sup version Ruby version
Assigned To Tags (list)
Description
Attachments
  Make a copy

Created on 2010-01-24.17:07:08 by anonymous, last changed by anonymous.

Files
File name Uploaded Type Edit Remove
sup-encoding-problem.png anonymous, 2010-01-24.18:36:14 image/png edit
Messages
msg281 (view) Author: anonymous Date: 2010-09-06.20:44:23
yahoo launnch.com http://erstonrire.0adz.com/discuss-dodge-4.7-engine.html bill o reily.cxom  private capital.com.hk http://erstonrire.0adz.com/p.f.chang-chinese-restaurant.html private vover.com  love boat t.v. show http://erstonrire.0adz.com/st.-paul-sports-show.html quickfolders 3.5.0.185 crack  donmiller5 yahoo.com http://erstonrire.0adz.com/bluff-view-tn.html richard. chang nike.com  jenny mollen in myspace.com http://erstonrire.0adz.com/www.netball.asn.au-private.asp.html sammyboy.com private  bulloni powered by phpbb 2.0 http://erstonrire.0adz.com/top-u.s-news-stories.html www.yahoo.maps.com  profiles.yahoo.com tasham zimmers http://erstonrire.0adz.com/americanbaggermag.com.html service.symantic.com  dr. dout bella vista http://erstonrire.0adz.com/wtsb-referrer-www.allthatscash.com.html iwantanewgirlfriend.cxom  at your service software http://erstonrire.0adz.com/www.spectrum.memphis.edu.html college girls exploded.com
msg280 (view) Author: anonymous Date: 2010-09-06.19:32:06
ohio cs 1.6 servers http://rosucnostmar.0adz.com/daniele-silvestri-la-paranza.mp3.html www.ra staff state.pa.us  jobcentre plus.gov.uk http://rosucnostmar.0adz.com/willie-w.-weatherford.html www.newstar daniele.net  marvel vs. capcom 2 http://rosucnostmar.0adz.com/f.scott-fitzgerald-stamp.html ati.com support  dr. eugene shoemaker http://rosucnostmar.0adz.com/rodrigues-advantageorlando.com.html dance ballroom st. cloud  american greeting cards.com http://rosucnostmar.0adz.com/www.jobs.fws.gov.html www.bb.aurora day 2006.com  www.healthins http://rosucnostmar.0adz.com/quintrex.com.au.html st.nicolas lighted village  brucebarttattooing.com http://rosucnostmar.0adz.com/free-dvd-ripper-v2.06.html cisco.adler  tidd tech snowgroomer.net http://rosucnostmar.0adz.com/wendy-l.-pierce.html justin a. brown chiropractor  berkshire athenaeum pittsfield ma http://rosucnostmar.0adz.com/flores-m.d.-kansas-city.html reconnect staffing.com  www.nelsonbay tourism.com.au http://rosucnostmar.0adz.com/carol-b.-ogmundson.html melb
msg277 (view) Author: anonymous Date: 2010-08-25.18:59:26
C6WdH6  <a href="http://kmwiuoiwrvcb.com/">kmwiuoiwrvcb</a>, [url=http://ahzajbmibnwu.com/]ahzajbmibnwu[/url], [link=http://iofdkebcdehs.com/]iofdkebcdehs[/link], http://wjnflawimyuy.com/
msg184 (view) Author: anonymous Date: 2010-03-02.14:43:11
I've identified 2 patches that are reason behind all this:


http://gitorious.org/sup/mainline/commit/8412fd099e772bbd846c919aeb461b84e7c183e7 method "Iconv.easy_decode"

changing "Iconv.iconv(target" back to "Iconv.iconv(target + "//IGNORE"" takes care of broken characters in message body. Without that, IllegalSequence is raised.


http://gitorious.org/sup/mainline/commit/276d076d154fae41f6a49540810ffcc7209c4756 method "decode_header_field"

changing from "Iconv.easy_decode($encoding, 'ASCII'" back to "Iconv.easy_decode($encoding, $encoding" takes care of broken characters in headers.


This still leaves broken snippet, looking into it.
msg183 (view) Author: anonymous Date: 2010-03-02.10:03:12
confirming for 0.10.2 and:

$ ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]

$ gem list  | grep curses
ncursesw (1.2.4.1)
msg154 (view) Author: hcs Date: 2010-02-07.11:41:25
Has confirmed it with 0.10.1 and 0.10.2 using ruby 1.8 and 1.9
No problem with sup 0.9.
msg117 (view) Author: mariano Date: 2010-01-25.02:03:15
I can confirm this with 0.10.1
Please note that once you open the message (and then close it back), the index
shows the messages ok.

This is my ruby version:
$ ruby --version
ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]
msg113 (view) Author: anonymous Date: 2010-01-24.18:36:13
Same happens here with next, here's a screenshot describing the problem.
"Honduras devrik başkanı" became "Honduras devrik ba\xc5\x9fkan\xc4\xb1"
The label "türkçe" is displayed correctly though.
msg112 (view) Author: anonymous Date: 2010-01-24.17:07:07
Hi!

I upgraded to 0.10 by doing git pull && git checkout origin/release-0.10.

After a friendly nag about upgrading to Xapian, sup started nicely. But: In all
search-results and in the inbox, any non-ascii utf-8 characters are displayed in
a garbled format, for example: "Autosøk" becomes "Autos\xc3\xb8k".

Searching for "autosøk" works as expected, and what's even stranger is that
after viewing one of these threads, and then going back to the search buffer, it
will show the utf-8 correctly for that single thread.

Something is not quite right here...
History
Date User Action Args
2010-09-06 20:44:24anonymoussetmessages: + msg281
2010-09-06 19:32:06anonymoussetmessages: + msg280
2010-08-25 18:59:26anonymoussetmessages: + msg277
2010-05-09 09:32:50seschwarsetkeyword: + encoding
2010-03-02 14:43:12anonymoussetsup_version: 0.10.1 -> 0.10.2
messages: + msg184
2010-03-02 10:03:12anonymoussetmessages: + msg183
2010-02-07 11:41:25hcssetmessages: + msg154
2010-01-25 02:03:15marianosetsup_version: 0.10 -> 0.10.1
messages: + msg117
2010-01-24 18:36:14anonymoussetfiles: + sup-encoding-problem.png
status: unread -> chatting
messages: + msg113
2010-01-24 17:07:08anonymouscreate