projects / org / ezproject2010 / enhancedezbinaryfile / forum / general / works fine, but ..
Find the Exponential Software extensions you want
You need to be logged in to post messages in the forums. New users may register here.
Member since: Posts: 3 |
Tuesday 30 December 2008 6:39:54 am Something wrong with the encoding,
For example, when I receive a letter with "D" the original "Ė" or "E!t" - "Š" How to fix this problem? |
|
![]() Member since: Posts: 20 |
Tuesday 30 December 2008 9:33:57 am You are using the 4.x version found here, right? Not the 3.9 version, I hope... this is broken in the 3.9 version, I think - Marco Zinn noticed that umlauts didn't work in that version.
The mail's encoding should be set by the kernel hack using eZTextCodec::internalCharset() at line 352 of collectinfo.php:
Certified eZPublish developer |
|
Member since: Posts: 3 |
Tuesday 30 December 2008 11:05:23 pm I use ez 4.x version.
|
|
![]() Member since: Posts: 20 |
Saturday 03 January 2009 3:14:03 am The only thing I see different is the quotes around the utf-8 part for the text portion of the multipart mail. That could be it, maybe... although it's not intuitive to me.
If you want to try it, then change line 364 of collectinfo.php from:
Certified eZPublish developer |
|
Member since: Posts: 3 |
Tuesday 06 January 2009 9:36:09 am Hi Steven,
Thanks a lot for your ez extension ! As content content says, i think there is a problem with the mail encoding : For example, with chars é or è, i've got a C) or a C( I've made the previous modification you mentionned, and it seems nothing changes. Have you got any ideas to fix that ? Best regards, Lucas PS: I'm running on ez 4.0 system... |
|
![]() Member since: Posts: 20 |
Thursday 08 January 2009 12:49:29 am O.k forget taking the quotes out - I didn't think that would make a difference anyway.
However, I took a close look at this and I'm not able to reproduce the problems - I'm using a stock ez401 installation and everything on my linux box (firefox, thunderbird, xterm and kedit/kate) is set to utf-8. So, when I send a mail with this as the xml block message and with a text file as an attachment containing these contents:
Certified eZPublish developer |
|
Member since: Posts: 3 |
Monday 12 January 2009 9:26:52 am Hi,
My environment is fully set to UTF-8. The encoding error seems appear with the $mail->setContentType function. After reading the doc (http://pubsvn.ez.no/doxygen/trunk...ml#ac8ea2b85f149bd38ae1c56b36fdba0b) all you made seems ok... but not for me. I don't understand. If you have others ideas ? Thx Lucas PS: I try
|
|
Member since: Posts: 3 |
Tuesday 13 January 2009 8:41:28 am |
|
![]() Member since: Posts: 20 |
Saturday 07 February 2009 1:01:35 am Sorry for the late reply, apparently I didn't get the notification.
I'm not sure what your mail client is doing... and I don't know where it's getting the encrypted base64 from... but, can you cut and paste the block of base64 encoded text and decode it using base64_decode and save it in a file (image.gif)? Is it the image that you attached? Certified eZPublish developer |
You need to be logged in to post messages in the forums. New users may register here.