[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4758: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3893)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4760: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3893)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4761: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3893)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3893)
phplist forums • View topic - [fix] Special characters make message subject disappear

[fix] Special characters make message subject disappear

Discuss, research, share, find, and solve bugs

[fix] Special characters make message subject disappear

Postby nordblad » 8:25pm, Tue 18 Mar, 2008

I noticed that special characters such as åäö cause the subject line to disappear after I click "Save Changes". It simply isn't written out in the subject field, and if I resave, it's lost forever. I think the problem is that

<input type=text name="msgsubject" value="'.htmlentities($subject,ENT_QUOTES,'UTF-8').'" size=40>

doesn't work if the input is in ISO-8859-1. In my case, using instead

htmlentities($subject,ENT_QUOTES,'ISO-8859-1')

fixes the problem. So does

htmlspecialchars($subject,ENT_QUOTES),

which looks even nicer. Is there any reason to keep the original version that I haven't thought of?
nordblad
phpList newbie
 
Posts: 1
Joined: 8:06pm, Tue 18 Mar, 2008

Postby H2B2 » 8:33pm, Tue 18 Mar, 2008

Hmm, good question.

Could you add a feedback note on your findings to this bug report? http://mantis.phplist.com/view.php?id=1644

Thanks!
phpList | | | |
H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006

Postby mariofau » 7:41pm, Wed 25 Feb, 2009

mariofau
PL Nut
 
Posts: 43
Joined: 6:19pm, Mon 08 Jan, 2007

Re: [fix] Special characters make message subject disappear

Postby reivaj01 » 6:34pm, Sun 11 Apr, 2010

Hi,

I'm spanish, and I changed the /lists/admin/lan/es/language_info file, and I can write special characters in the subject without problems.

This file "/lists/admin/lan/**/language_info" control the charset used in all admin pages.

Bye
reivaj01
phpList newbie
 
Posts: 1
Joined: 6:26pm, Sun 11 Apr, 2010

Re: [fix] Special characters make message subject disappear

Postby uge » 5:21pm, Mon 16 May, 2011

Hello Reivaj01,

I'm spanish too, (también) :-) and I would like to know what did you change on that file.

I'm trying different things without success, I have this problem with the subjet. It doesn't show all characters on some mail software.

Thanks a lot,

greetings
uge
phpList newbie
 
Posts: 4
Joined: 5:17pm, Mon 16 May, 2011

Re: [fix] Special characters make message subject disappear

Postby H2B2 » 8:24pm, Mon 16 May, 2011

Possibly related to
See also
phpList | | | |
H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006

Re: [fix] Special characters make message subject disappear

Postby uge » 2:31pm, Tue 17 May, 2011

Thanks a lot H2B2, I will try that.

The wrong thing also is that in the Test Mail, it works perfectly. It's just on the batch send when I cant see correct characters.

Does it is normal?

Thanks again,

greetings
uge
phpList newbie
 
Posts: 4
Joined: 5:17pm, Mon 16 May, 2011

Re: [fix] Special characters make message subject disappear

Postby djpaliobcn » 9:20am, Fri 19 Apr, 2013

I have the same problem now, the subject still disappear after "é"
My subject was "El grup més marxos" but after save this remain "El grup m"

I'm using 2.10.19
djpaliobcn
phpLister
 
Posts: 10
Joined: 9:19am, Tue 09 Apr, 2013


Return to Bug Discussion

Who is online

Users browsing this forum: No registered users and 1 guest