Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184384 - net-irc/irssi - recode with recode_autodetect_utf8, and a non-ascii recode_fallback, does not decode 7-bit ascii properly
Summary: net-irc/irssi - recode with recode_autodetect_utf8, and a non-ascii recode_fa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-06 04:47 UTC by bdonlan
Modified: 2009-10-21 14:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bdonlan 2007-07-06 04:47:31 UTC
With recode settings set as follows:
23:40 [misc]
23:40 recode_autodetect_utf8 = ON
23:40 recode_fallback = sjis
23:40 recode = ON
23:40 recode_out_default_charset =
23:40 recode_transliterate = ON
23:40 [lookandfeel]
23:40 term_charset = UTF-8

If one enters text which is 7-bit, it is decoded as shift-jis. Since shift-jis is not a proper superset of US-ASCII, things are changed - for example, \ becomes ¥ and ~ becomes ‾.

Reproducible: Always

Steps to Reproduce:
1. Set irssi options as mentioned above
2. /msg (your username) \~

Actual Results:  
¥‾ is displayed

Expected Results:  
\~ should have been displayed

I'm currently working on a patch for this; I'll post back with my results
Comment 1 bdonlan 2007-07-06 05:06:27 UTC
I've made a patch to correct this issue at http://www.fushizen.net/irssi-0.8.11-dont-fallback-on-7bit.patch
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2007-07-06 17:44:47 UTC
And why not send this upstream?
Comment 3 bdonlan 2007-07-07 00:44:21 UTC
Now sent upstream at http://bugs.irssi.org/?do=details&task_id=518
Comment 4 Daniel Santos 2008-10-02 20:45:26 UTC
Related or duplicate of bug 168341?  Just curious
Comment 5 Ihar Hrachyshka 2009-09-01 12:24:48 UTC
Seems it should be already fixed for >=0.8.13 (as info from upstream bugzilla states). If mips will stabilize 0.8.13 then the bug can be closed I think.
Comment 6 Ihar Hrachyshka 2009-09-01 12:27:11 UTC
Though as it's stated in the following comment for the bug #271875: https://bugs.gentoo.org/show_bug.cgi?id=271875#c12
MIPS team dropped stable branch support so you can just close the bug.
Comment 7 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-10-21 14:44:07 UTC
resolving per comment #6