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 80002 - filter-thread not utf-8 friendly
filter-thread not utf-8 friendly
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
pre-0.12.0 betas
Other other
: High normal
: 0.12.1
Assigned To: Charles Kerr
Charles Kerr
Depends on:
Blocks: 80086
 
 
Reported: 2002-04-26 20:43 UTC by kz
Modified: 2006-06-18 05:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description kz 2002-04-26 20:44:15 UTC
Package: Pan
Severity: normal
Version: 0.11.91
Synopsis: hangul not able to search.
Bugzilla-Product: Pan
Bugzilla-Component: general

Description:
Steps to reproduce the problem:
(this may you cannot :-)
1. open newsgroup which list multichar as subject.
2. type in multichar in search entry by xim.
3. activate, but not match.

I think this is conversion problem: article list is in euc-kr(my
native),
and search entry is in utf-8.




------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-04-26 16:44 -------

Reassigning to the default owner of the component, charles@rebelbase.com.

Comment 1 Charles Kerr 2002-04-29 17:34:02 UTC
Maybe Pan should convert all strings to utf-8 when it reads them in,
for example, the article headers could be converted in nntp.c when
they're downloaded.  Then these mismatch issues would be moot.

This problem also exists in filter-phrase.
Comment 2 Charles Kerr 2002-05-10 15:53:20 UTC
<charles> but IIRC we are going to store .msg files in utf8 format, so
we don't need to convert after fread() unless we're
          feelin paranoid
<charles> We need to convert to utf-8 in acache_set_message()
<charles> If gmime has an option for utf-8 output, we should just
create a GMimeMessage there, dump its output to file, and
          then destroy the GMimeMessage
<charles> that way GMime can handle for us esoteric cases of different
mime attachments having different charsets
<fejj> hmmm, gmime doesn't have a way to write content in UTF-8
<charles> if you don't want to do that, Pan could just stick a decode
in a foreach function for each part
<fejj> you could do a g_mime_objct_foreach() and get the data-wrapper
and then get the stream, create a filtered-stream to
          convert to UTF-8, then re-set the stream into the
data-wrapper and set the MIME part's charset to UTF-8
<fejj> that should work
<charles> okay
<charles> sounds good
<fejj> although if the content isn't in the charset the mime part says
it is and/or if there are problems
          converting from %charset to UTF-8 when writing, you may get
corrupted data

Comment 3 Charles Kerr 2002-06-10 21:33:46 UTC
Punting remaining bugs to 0.12.1
Comment 4 Christophe Lambin 2002-06-27 23:03:03 UTC
This is fixed for 0.12.1.