Jump to content

papapan

Retired Forum Member
  • Posts

    6
  • Joined

  • Last visited

About papapan

papapan's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hi, Did you find any solution? I have exactly the same problem.
  2. I have a reseller's account with GlobalSign and works perfectly with whmcs. Excellent and very professional cooperation.
  3. I hope they will find a solution quickly. I used http://www.phpclasses.org/browse/package/1360.html and the test page is working! The Greek characters from the database appear as it should. I will try later to make the hook also. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Encode testing</title> </head> <body> <?php require_once "includes/ConvertCharset/ConvertCharset.class.php"; // Encode testing mysql_connect('localhost:3304', 'user', 'pwd'); mysql_select_db('dbname'); // Read first 5 tickets $sql = "SELECT id, tid, title, message FROM tbltickets LIMIT 5"; $res = mysql_query($sql); // For each ticket while(list($id, $tid, $title, $message) = mysql_fetch_array($res)) { // Shows generic info for this ticket echo "[$id] "; echo "<strong>$title</strong><br />\n"; echo "<p><strong>Before</strong><br />$message</p>\n"; // Check if encoding is utf8 $enc = mb_detect_encoding($message, "UTF-8, ISO-8859-7"); if($enc!="UTF-8") { $Entities = 0; $FromCharset = $enc; $ToCharset = "UTF-8"; $text = new ConvertCharset($FromCharset, $ToCharset, $Entities); $message = $text ->Convert($message); // and print fixed message echo "<p><strong>After $enc</strong><br />$message</p>\n"; } echo "<hr />\n"; } ?> </body> </html>
  4. So, I think that the right solution would be to change the message and subject encoding in the database and have all messages in utf-8 encoding, as the WHMCS uses. But i have tried http://www.php.net/manual/en/function.iconv.php http://de.php.net/manual/en/function.utf8-encode.php and http://de.php.net/manual/en/function.imap-utf8.php and noone seems to give the solution. Any suggestions? Thanks!
  5. Hi! Did you find any solution? I have exactly the same problem with Greek. My WHMCS is running with UTF-8 and the Greek characters in e-mails from Google apps Gmail come in ISO-8859-7. In WHMCS administration when changing encoding from utf-8 to iso-8859-7 I can see the right characers instead of � But the real problem is in the auto respond e-mail that a client receives when a ticket is opened, where the client receives some non readable characters instead of his e-mail text. Thanks!
  6. Hallo! Has this problem been corrected somehow? I installed ver 4.2.1 and it seems that the problem already exists. Thanks
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated