View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017176 | phpList 3 application | Campaign Send Process | public | 03-05-14 22:50 | 16-01-19 09:46 |
Reporter | danwaterloo | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | intel | OS | centos | OS Version | 5.5 |
Product Version | 3.0.5 | ||||
Summary | 0017176: when 'send a web page' contains spanish language characters, improperly encoded | ||||
Description | When sending a web page contains 'foreign' characters, (oomlat, tilde, etc.), the page is not properly encoded to send. The foreign characters are garbled. (on this same system, when posting spanish language text into to the 'message editor' box, everything is translated properly.) | ||||
Steps To Reproduce | send a web page, using this page: http://www.newsletter.illinois.mx3a.com/vo/socsci_Ies15a.html send a test... notice that the characters are all garbled. | ||||
Tags | No tags attached. | ||||
|
interesting. My first thought was a mixup of character sets, but the page is in UTF-8 so that should work. Needs checking and fixing. |
|
things that come to mind are: 1. my php settings (php.ini) aren't set right... 2. the line that reads the page and creates the cached version doesn't use the correct charactersets. 3. my o/s somehow reads the page into an incorrect character set, and then it can't be fixed... since it works when the same text is pasted into the message editor box, the issue appears to be in the 'send a web page' function... |
|
Duncan posted this on the forums... -------- The function fetchUrlCurl() in file admin/lib.php seems to be responsible for fetching remote pages, if your php has curl installed. That function doesn't do encoding conversion, but see the following function fetchUrlPear() that does do conversion. You could try adding similar code to fetchUrlCurl() to convert to utf-8. -------- |
|
Trying to replicate, I find the following: 1. both the curl and PEAR versions fetch the page fine. 2. the HTML versions have all the correct characters 3. the Text version has most of the accented characters correct, except the ?Esperamos recibir pronto su propuesta y contar con su participación en Split! which should be ¡Esperamos recibir pronto su propuesta y contar con su participación en Split! This is the same for both the Curl and Pear fetching. So, it looks like the problem is with the HTML to text conversion. |
|
this needs more data to replicate. Do you get more characters wrong than the one that I have? In that case, my method to replicate the problem is incorrect. |
|
I have updated the perl to 5.8.8, (on centos 5.6), and changed the default encoding on my client email reader (thunderbird) to UNICODE(UTF-8) and everything seems to be displaying as it should. At this point, please close this request. Thanks! |
|
great, thanks for checking |