Bug 65679
Summary: | Pan posts in invalid charset when LC_ALL is unset | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Daniel Rees <dan> |
Component: | pan | Assignee: | Jens Petersen <petersen> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 7.3 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://groups.google.com/groups?selm=pan.2002.05.29.09.08.47.835185.1368%40spamguard.dwrees.co.uk&output=gplain | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-01-30 03:26:15 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Daniel Rees
2002-05-29 22:37:21 UTC
Xlib seems to like either LANG=en_GB.ISO8859-15 or LANG=en_GB.iso885915. Perhaps you can get away with former? Not the pan side I am not really sure what can be done, but gmime could be made to handle the issue more gracefully? You could try bringing up the issue on one of the pan mailing lists. gmime seems to assume the form "iso-%d-%d", which gives an Xlib warning. :-\ Btw LC_ALL is not a normal environment variable (see the glibc manual for more details), but a macro: try "printenv LC_ALL". FWIW essentially no current glibc locales (the only exception being one Norwegen locale) have a hyphen in them... Hmm, with 0.13.2 I seem to get: | Content-Type: text/plain; charset=ISO-8859-1 when sending from "LANG=en_GB.iso885915 pan". In fact AFAICT it seems to ignore the encoding part of the locale entirely. At least the charset in the Content-Type field seems to be based now only on the xx_YY part apartly. Need to look at the code though to see what's going on. Things should be better with utf-8 now, I imagine. |