[bug-notifications] [mutt 0002973]: mutt compiled with libidn does not work with the defaul locale

Mantis Bug Tracker noreply at opencsw.org
Wed Sep 23 19:54:58 CEST 2009


The following issue has been CLOSED 
====================================================================== 
http://www.opencsw.org/bugtrack/view.php?id=2973 
====================================================================== 
Reported By:                bfr-murphy
Assigned To:                skayser
====================================================================== 
Project:                    mutt
Issue ID:                   2973
Category:                   regular use
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-12-17 21:13 CET
Last Modified:              2009-09-23 19:54 CEST
====================================================================== 
Summary:                    mutt compiled with libidn does not work with the
defaul locale
Description: 
When compiled with libidn mutt does not work with the "C" or "POSIX"
locales.  The error 'Bad IDN "{hostname of IMAP server}".' is printed in
the message line at the bottom of the terminal window and no connection is
made to the IMAP server.

This is a problem because the Sun default locale is "C".

Unsetting the mutt variable use_idn or changing the value of the mutt
variables charset, assumed_charset, attach_charset, config_charset, and
send_charset does not fix the problem.

Possible solutions:

1) Do not compile mutt with libidn.

2) Provide a wrapper script that checks the LANG shell environment
variable and changes the LC_ALL shell environment variable to another value
if LANG is "C" or "POSIX".  There would need to be a way for the user to
specify a locale other than "C" or "POSIX" for the wrapper to use.


====================================================================== 

---------------------------------------------------------------------- 
 (0006749) skayser (administrator) - 2009-09-23 19:54
 http://www.opencsw.org/bugtrack/view.php?id=2973#c6749 
---------------------------------------------------------------------- 
Resolved with libiconv 1.13.1,REV=2009.07.31.

Thanks for reporting and feedback, bfr-murphy.




More information about the bug-notifications mailing list