Go Back   Pligg CMS Forum > Pligg Development > Bug Report

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-10-2008, 06:24 AM
New Pligger
Pligg Version: 0.98
 
Join Date: Sep 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy "Tell a friend" message doen't support UTF8

Find out the bug of "tell a friend".

When the recommend_small.tpl pass the $message to recommend.php. Such UTF8 code will changed to the following format:
%u6211..... something.

The problems is , the Email content will be tread such UTF8code into real characters.

I have done the following converting(%u{number} change to html representation
Code:
$message = preg_replace("/%u(\w+)/e", "'&#'.hexdec('\\1').';'", $message);
Then %u6211 will changed to a chinese word "我"

But I can't display on the Email message... Please help
Reply With Quote
Reply

Tags
email tellafriend utf8

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Fixed : UTF8 Email title for "tell a friend" and "send announment module" leosophy Bug Report 0 10-10-2008 06:05 AM
"Tell a friend" doesn't work on pligg 0.995 version leosophy Bug Report 6 10-06-2008 08:58 PM
I need help to resolve "Tell a Friend" functionality slick33 General Help 1 08-13-2008 08:14 PM
Receiving error message Fatal error: PCRE is not compiled with UTF-8 support in /hom wesheets Installation and Upgrade Help 2 11-12-2007 11:05 PM
"Tell a friend" cann't support chinese words haxhax Bug Report 2 02-18-2007 02:12 PM


Search Engine Friendly URLs by vBSEO 3.2.0