Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-05-29 09:57:31

raminrahimi
Member
From: India
Registered: 2013-03-19
Posts: 278

RTL characters show ???? on live server

I’m using TXP v4.6.2
my website contains RTL language characters (Arabic), on my localhost all characters show fine, but when i’m exporting and importing to my live hosting (Plesk Onyx 17.8.11) it will show something ?????? ??
i checked:
default_charset is UTF-8
mysql collation is set to UTF-8
on my html is already <meta charset="UTF-8">
when i go phpmyadmin, characters shows fine on table records, but when it fetch to txp, it will show ????? ??
——————
one thing else is interesting for me, when i change that ???? from txp admin and save, it will goes fine and will not show again ????
i don’t know what’s the problem !?

Offline

#2 2018-05-29 10:22:05

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,719
Website

Re: RTL characters show ???? on live server

Is

$txpcfg['dbcharset'] = 'utf8';

also set in config.php? See this line in config_dist.php.


TXP Builders – finely-crafted code, design and txp

Offline

#3 2018-05-29 10:23:20

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,538
Website GitHub Twitter

Re: RTL characters show ???? on live server

Hi,

Maybe same problem as i got before

Try the solution given here

Cheers.

Offline

#4 2018-05-30 05:02:05

raminrahimi
Member
From: India
Registered: 2013-03-19
Posts: 278

Re: RTL characters show ???? on live server

$txpcfg['dbcharset'] = 'utf8';
Problem solved :-)

Offline

Board footer

Powered by FluxBB