bugWeeChat - Bugs: bug #24760, Swedish characters works in 0.2.6...

 
 

bug #24760: Swedish characters works in 0.2.6 but not in 0.2.7 dev version

Submitted by:  Jesper J <jesperj>
Submitted on:  Wed 05 Nov 2008 11:11:31 PM UTC  
 
Category: displaySeverity: 3 - Normal
Item Group: displayStatus: Invalid
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: Open/Closed: Closed
Release: 0.3.0IRC nick: jesperj

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 06 Nov 2008 03:06:04 PM UTC, comment #5:

Problem was link against libncurses instead of libncursesw.
I'll add warning with cmake when this library is not found (it's not required, but recommended if standard ncurses does not have wide char support).

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Thu 06 Nov 2008 03:04:54 PM UTC, comment #4:

Problem solved.

It was libncursesw5-dev that was missing so it got compiled against libncurses5 instead. After installing libncursesw5-dev and recompiling, swedish characters works.

Thank you Flashcode.

JesperJ

Jesper J <jesperj>
Thu 06 Nov 2008 01:08:07 PM UTC, comment #3:

<FlashCode> jesperj: for your bug, you're receiving swedich chars in ISO, not UTF (from other users), right ? < I don't know, how would I figure that out? Is that something set by the IRC server you connect to?

FlashCode: I tried /charset decode iso-8859-1 and /charset encode iso-8859-1 but still same error. But my locale is set to sv_SE.UTF-8. Would iso-8859-1 work even if my locale is set to UTF-8 or do I have to change locale to irso-8859-1 also?

(anyway all other programs works FINE with swedish characters. irssi, ircII etc) and even weechat 0.2.6 so I think this is something in weechat 0.2.7 that is either not working or configured correctly.

Thank you for trying to help with it though.

Jesper J <jesperj>
Thu 06 Nov 2008 01:03:53 PM UTC, comment #2:

Also I need to clarify that irssi and ircII works fine showing swedish characters åäö as they should, both in xterm and urxvt and linux console.

And also weechat 0.2.6 works fine with swedish characters, so I don't think it is something outside weechat not working. I think it is something in weechat 0.2.7 that does not work or is not configured correctly.

Jesper J <jesperj>
Thu 06 Nov 2008 07:05:21 AM UTC, comment #1:

Try that on swedish channel: /charset decode iso-xxxxxx (with swedish ISO value).
Or for global value, try: /set charset.default.decode = "iso-xxxxx"

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Wed 05 Nov 2008 11:11:31 PM UTC, original submission:

I am running Debian Lenny and Weechat-curses 0.2.6 from Debian's own package has swedish characters working fine both in command line and in xterm and urxvt in X, but when I downloaded 0.2.7 dev version and compiled it, "å ä ö" looks like "M-CM-%M M-CM-$M-CM-6".

I have followed the steps under "Question 2.4 : I don't see some chars with accents, what can I do?" of the FAQ to validate that everything is in order except " setup global decode value, for example: /setp charset.global.decode = ISO-8859-15 " which I could not get working (not the right syntax for 0.2.7?)

I did however see this output was shown in the server window: "charset: terminal: UTF-8, internal: UTF-8" and I also set charset.default.decode = "UTF-8" and charset.default.encode = "UTF-8". Still same result, swedish characters looks the same.

Output of locale gives:

$ locale
LANG=sv_SE.UTF-8
LC_CTYPE="sv_SE.UTF-8"
LC_NUMERIC="sv_SE.UTF-8"
LC_TIME="sv_SE.UTF-8"
LC_COLLATE="sv_SE.UTF-8"
LC_MONETARY="sv_SE.UTF-8"
LC_MESSAGES="sv_SE.UTF-8"
LC_PAPER="sv_SE.UTF-8"
LC_NAME="sv_SE.UTF-8"
LC_ADDRESS="sv_SE.UTF-8"
LC_TELEPHONE="sv_SE.UTF-8"
LC_MEASUREMENT="sv_SE.UTF-8"
LC_IDENTIFICATION="sv_SE.UTF-8"
LC_ALL=

I tried version 0.2.7 in console, in xterm and urxvt, and in all three of them swedish chars works fine, just not in weechat 0.2.7 that I compiled myself.

I look forward to this being fixed since it is all that is keeping me from using weechat as my main IRC client. Thank you for a good job this far.

JesperJ (on freenode)

Jesper J <jesperj>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by flashcode (Posted a comment)
  • -unavailable- added by jesperj (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 18 Apr 2010 12:08:55 PM UTCflashcodeRelease2.1-dev=>0.3.0
    Thu 06 Nov 2008 03:06:04 PM UTCflashcodeStatusNeed Info=>Invalid
      Open/ClosedOpen=>Closed
    Thu 06 Nov 2008 07:05:21 AM UTCflashcodeCategoryNone=>display
      StatusNone=>Need Info
      Assigned toNone=>flashcode

    Back to the top


    Powered by Savane 3.1-cleanup1