[dev] Problem with 8 bits caracters in IMP message preview

Etienne Goyer etienne.goyer at linuxquebec.com
Thu Nov 13 06:30:27 PST 2003


Unfortunately not ... we decide to take out the preview option instead.
So far, I think this is related to the fact that the messages are in one
characters set (say, ISO-8859-1) but the page is being displayed in
another (UTF-8).  I guess the preview would have to be converted from
the messages charset to NLS::getCharset() with String::convertCharset().
I have not been able to find the time required to cook up a patch,
unfortunately.


On Thu, Nov 13, 2003 at 11:51:40AM +0100, Mikael Geijer wrote:
> Hi!
> Did you find any solution to this?
> Having the same problem...
> 
> /Mikael
> 
> Etienne Goyer wrote:
> 
> >Hi,
> >
> >Using a CVS snapshot of Nov. 3rd, 8 bits caracters appear as '?' in
> >message preview with mailbox.php.  8 bit caracters appear correctly in
> >the message's subject, though.
> >
> >Is this a known problem ?  From what I can gather by looking at
> >mailbox.php, the message body seem to be displayed as-is from what
> >imap_fetchbody() return.  This message is stored in ISO-8859-1 and Horde
> >return page in UTF-8.  Should some conversion be done and, if so, how ?
> >
> >Thanks for your input !
> >
> >  
> >
> 
> 
> -- 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> =- Mikael Geijer, nufort HB (nufort.net), Oebb AB (oebb.net)
> =- mobile: +46 70 7455239 office +46 70 7455239
> =- email:  mikael at nufort.net
> =- snail:  Kyrklunden 8, 122 32 Enskede, Sweden
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 

-- 
Etienne Goyer                    Linux Québec Technologies Inc.
http://www.LinuxQuebec.com       etienne.goyer at linuxquebec.com


More information about the dev mailing list