Go Back   Pligg CMS Forum > Pligg Development > Bug Report

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-06-2006, 07:58 AM
New Pligger
 
Join Date: Oct 2006
Posts: 27
Thanks: 0
Thanked 22 Times in 3 Posts
tell a friend character bug

hi there pligg devs, I just found out a bug when I'm trying to use 'tell a friend'

when I use latin, croatian and other character languages it shows as a hexa characters in the email and not the true character of it, if you want try this text and use it as a message to the person you want to tell that link

-------------
Ovo će te sigurno interesirati. Što se to godinama zbivalo u jednoj prosječnoj obitelji iz Darde u Baranji i drugoj, imućnoj, iz "prijestolnice" Slavonije, pa da sada rođene sestre ne razgovaraju, a nekoć slavonski dobrotvor čami iza zatvorskih rešetaka...
------------

the output with this character ć will be %u0107

could anyone help me to fix this stuff I'm lost and cant fix it for the whole day
thanks
Reply With Quote
  #2 (permalink)  
Old 11-06-2006, 03:21 PM
New Pligger
 
Join Date: Nov 2006
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
same problem

I have the same problem with the romanian characters for the"tell-a-friend" feature.
Reply With Quote
  #3 (permalink)  
Old 07-21-2007, 01:58 PM
New Pligger
 
Join Date: May 2007
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts
I have the same problems with turkish characters, does anyone have solution.
Reply With Quote
  #4 (permalink)  
Old 07-22-2007, 05:17 PM
New Pligger
 
Join Date: May 2007
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts
It's weird that the turkish characters in the stories display well but the characters in the tell a friend message box are corrupt. I found the code that refer to these section. In recommend.php on the line 109 and 111;
Code:
if ($current_user->user_login){
		$body = $message . "\r\n\r\n" . Included_Text_Part1 ." ". $current_user->user_login .",". Included_Text_Part2 ."\r\n\r\n".$link->title." - " .strip_tags($link->content)."\r\n\r\n" ."Haberi bu linkten inceleyebilirsiniz: ". $link_url;}
		else{
		$body = $message . "\r\n\r\n" . Included_Text_Part1 ." bir arkadaşınız". Included_Text_Part2 ."\r\n\r\n".$link->title." - " .strip_tags($link->content)."\r\n\r\n" ."Haberi bu linkten inceleyebilirsiniz: ". $link_url;}
The
Code:
$link->title." - " .strip_tags($link->content)
has no character problem but the
Code:
$message . "\r\n\r\n" . Included_Text_Part1 . bir arkadaşınız". Included_Text_Part2
parts have problems.

Generally I could find the problems' source but because my limitted php knowledge I need your help.
Reply With Quote
  #5 (permalink)  
Old 10-01-2007, 03:46 AM
rio rio is offline
New Pligger
 
Join Date: Sep 2007
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
I solved the problem adding additional character encoding functions...
Reply With Quote
  #6 (permalink)  
Old 03-28-2008, 08:08 PM
New Pligger
 
Join Date: May 2007
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rio View Post
I solved the problem adding additional character encoding functions...
Still have the problem. I'll appreciate if anyone share the solution with community.
Reply With Quote
Reply

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
[SOLVED] Tell a friend and message a friend bugs redwine General Help 5 09-22-2007 07:14 PM
Tell a friend does not deliver messages to friend! dragan General Help 0 09-14-2007 09:08 AM
Friend Module BuG searched&destroyed :) AnAlienHolakres3 Bug Report 0 09-08-2007 01:22 PM
How to Avoid Spamming through Tell a Friend Form The Edifier General Help 3 03-27-2007 01:04 AM
Tell a friend story link version 8.2 argh2xxx Bug Report 6 02-03-2007 11:46 PM


Search Engine Friendly URLs by vBSEO 3.2.0