After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 83045 - messages with euro signs are held for empty
messages with euro signs are held for empty
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
pre-0.12.0 betas
Other Linux
: Normal normal
: 0.12.0
Assigned To: Charles Kerr
Charles Kerr
Depends on:
Blocks:
 
 
Reported: 2002-05-26 08:28 UTC by Frank Van Damme
Modified: 2006-06-18 05:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Frank Van Damme 2002-05-26 08:28:46 UTC
Pan refuses to post new messages that contain euro signs (or only an euro
sign), because it thinks they are empty. 

To reproduce, post a new message to a *test* group containing a few euro's.
Comment 1 Christophe Lambin 2002-05-26 12:37:13 UTC
I can recreate this by posting a message with '€' in the body, but
leaving the charset ('More Headers' tab) at ISO-8859-1.  If I set the
charset to ISO-8859-15, the article is posted correctly.

Frank: could you check whether you're seeing this under the same
circumstances.

Charles: sounds like part of the message validation should be to check
for the right charset (though I'm not entirely happy with that
solution either) ?
Comment 2 Charles Kerr 2002-05-26 14:37:10 UTC
I don't think we should implicitly set the charset of posted messages,
so raising an error dialog and sending the user back to change things
is probably for the best.

   `ERROR: message uses characters not in specified charset `%s' -
           possibly use `%s' instead?",
      user_charset,
      g_mime_charset_best(body)

Does this sound good?
Comment 3 Frank Van Damme 2002-05-26 15:17:44 UTC
Christophe: that's right, you have to select the charset then it works... 
imho the user should be allowed to use only the characters in the charset he is using when typing the message. It's not very 
logical to post in a different charset then the one you're using to type your message.
Comment 4 Charles Kerr 2002-05-26 19:36:18 UTC
Constraining what the user types is going to be even more of
a headache, though.  Even after all the coding was done -- and
I'm not sure how the code would look in the first place -- the
euro would simply not show up when the user typed it, which
would be more frustrating.  The error dialog I suggested is
intrusive, but does give an indication of what the problem is
and how to fix it.
Comment 5 Christophe Lambin 2002-05-29 20:38:36 UTC
Implemented in CVS.