[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/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/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/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 - How to configure UTF-8 in phpList

How to configure UTF-8 in phpList

General talk about translations & I18n (Internationalization)

How to configure UTF-8 in phpList

Postby H2B2 » 8:44pm, Tue 23 Nov, 2010

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

Re: How to configure UTF-8 in phpList

Postby TomasM » 4:51am, Sat 07 May, 2011

I would like to add an important detail. It is not enough to change the collation of the tables to UTF-8. Most likely you will also have to change individual fields' collation like:

Table: phplist_message
Fields: subject, message, textmessage

Table: phplist_list
Fields: name, description

You may need to change additional fields in case you need UTF-8 encoding there. I spent many hours, until I realized this, I hope that will help you guys ;)
TomasM
phpList newbie
 
Posts: 1
Joined: 4:15am, Sat 07 May, 2011

Re: How to configure UTF-8 in phpList

Postby IronDog » 4:24pm, Mon 03 Oct, 2011

Hello,

I am trying to set up a PHPList in Russian (Cyrillic), UTF-8. I've noticed that russian.inc that ships with PHPList has $strCharSet='windows-1251' and I have read that UTF-8 is hard-coded in the PHP code.
I've transformed russian.inc from windows-1251 into UTF-8, and specified russian.inc in the config.php. The front page is still gibberish and only becomes Russian if one specifies the desired encoding explicitly to the browser. In other words, the HTML itself does not appear to be self-documented. In the HTML for the front page, I see

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

I believe iso-8859-1 is inconsistent with the goal of getting Russian via UTF-8.
How do I correct that META?

Thanks!
IronDog
phpList newbie
 
Posts: 2
Joined: 4:13pm, Mon 03 Oct, 2011

Re: How to configure UTF-8 in phpList

Postby Ryneh » 1:44am, Mon 05 Mar, 2012

Hi IronDog:

I encountered the same situation like yours. Hope my experience helps. :D
viewtopic.php?p=90956
Ryneh
phpList newbie
 
Posts: 3
Joined: 2:50am, Thu 01 Mar, 2012

Re: How to configure UTF-8 in phpList

Postby acastles » 10:16pm, Thu 25 Oct, 2012

acastles
phpList newbie
 
Posts: 1
Joined: 10:12pm, Thu 25 Oct, 2012

Re: How to configure UTF-8 in phpList

Postby protonotarios » 7:27pm, Sat 16 Feb, 2013

protonotarios
phpList newbie
 
Posts: 1
Joined: 7:11pm, Sat 16 Feb, 2013

Re: How to configure UTF-8 in phpList

Postby sampei » 9:58am, Thu 20 Jun, 2013

that's the reason why it says "default". However if you didn't do it you can still update each tables manually - perhaps takes 5 minutes longer but the result is the same...


________________
A programmer looks both ways before crossing a one-way street
sampei
phpList newbie
 
Posts: 1
Joined: 7:47am, Sun 02 Jun, 2013

Re: How to configure UTF-8 in phpList

Postby KhanhHQ123 » 8:38am, Tue 17 Dec, 2013

The way of Andy works perfectly.

After searching for minutes, i found an official FAQ of PhPList for all you guys to know more about this problem: http://docs.phplist.com/PhplistFAQ.html
KhanhHQ123
phpList newbie
 
Posts: 1
Joined: 8:27am, Tue 17 Dec, 2013


Return to Translators & Internationalization

Who is online

Users browsing this forum: No registered users and 1 guest