Question: |
Hi,I`m from Serbia, when my users on the site use Russian letters or Serbian Cyrillic, the letters, the difference, displayed as ? ? ?. How to solve this problem, please?With uvazhenem Dragojle Romandicdvanakub.net |
Answer: |
Hello. please Give a link where you can see this error. In what encoding you have a website and a database? |
Question: |
Hi, here silica http://dvanakub.net/law/index.php?idi=oglas&kat=0Кодировка on the website UTF-8, everything works.The encoding of database to UTF-8 bin, general ci, tasted different, too, and UTF-16.With respect Dragola, Romantic |
Answer: |
please Wait. |
Answer: |
Hello on the very website as the charset specified? |
Question: |
Hi, in the tag and in the tag$msg = htmlentities(trim($msg),ENT_QUOTES, \"UTF-8\"); |
Answer: |
into the database as written off? |
Question: |
Our database deducted it into seen on silica |
Question: |
On my host from a Serbian provider all works well |
Answer: |
so data are not in UTF8. in what has kodirovke pereneslas base? |
Question: |
The database is transferred to Kodirov UTF-8, UTF-16, tried different bin, general ci and so on. It is possible the problem is in the font on the website a few aproval font-family: Calibri ,...Tahoma, verdana. etc... |
Answer: |
the encoding of the fonts is not relevant. as you transferred the database? |
Question: |
$msg = $_POST[`msg];$msg = htmlentities(trim($msg),ENT_QUOTES, \"UTF-8\"); Used PDO, I did everything right, used OOP $msg transferred into the database |
Answer: |
we need access to phpomyadmin prazdneho hosting to try to move the base again. |
Question: |
This base I made, the site tokhe I do |
Question: |
With did on my PC XAMPP |
Answer: |
you said that Satya was hosting |
Question: |
The site was poesen hosting, mohni he is still there, but the site put and sdes, worked there all, here no. But, I still sajjtof, dia, and h and at the other stinge, here problems with the database there . If you don`t decide, no problem, sorry into I nastuchal |
Answer: |
that would solve the problem we need access to the server where it does not exist, the access to the database to create the database dump |
Question: |
I`ll give You the database file, why do you need access to the server, I just do manual upload and it works. But if You nocete I`ll give you the option host? |
Answer: |
Where you made a database connection in scripts? |
Question: |
In the beginning of the script, after podkluchenie will reach $msg = htmlentities(trim($msg),ENT_QUOTES, \"UTF-8\");if thought into the problem here... |
Answer: |
Give the path to the file. We were unclear where it is written. |
Question: |
Beginning scriptsdir option of podkluchenie $pdo = new PDO(\"mysql:host=$dblocation;dbname=$dbname\",$dbuser,$dbpasswd) or die(`Neuspelo povezivanje sa bazom podataka`);include(`inc.php`);include(`config.php`);................................................... |
Answer: |
Give the path to the file in which it is written. |
Question: |
public_html/law/index.php index.php(require(`start.php;)start.php (Beginning scriptsdir option of podkluchenie $pdo = new PDO(\"mysql:host=$dblocation;dbname=$dbname\",$dbuser,$dbpasswd) or die(`Neuspelo povezivanje sa bazom podataka`);include(`inc.php`);include(`config.php`);) |
Answer: |
please Wait. |
Answer: |
do you Have in the DB a question mark. You imported or is it after filling? |
Question: |
When established a base here, it was nothing today ochill all Danie and wrote several soobshenii,on the website, shtob has shown You . Tex which I will write with the Russian bukvami, our database otkrivaetsa question marks... |
Answer: |
let the name of the database |
Answer: |
How can you check the spelling of the message on the website? |
Question: |
dvanakub.net/lawВыберите language Rudalova will obavljanje FOGA and otpraviti horizontalna meni click on Everything and at that |
Answer: |
let the name of the database |
Question: |
dvanakub_law |
Answer: |
try to remove from the script the indication of the encoding |
Question: |
Can be into on your server installed Russian fonts, but the database does not recognize Western fonts and save them as question marks.Removed but everything as before |
Answer: |
we don`t have fonts on the server the base encoding default utf-8 are you sure that send zaprsoy in utf8 and not latin? |
Question: |
All scripti tried on our host, we have CBE works...This script, law, design, my client wanted to buy You for the host, but he`s in Cyrillic.No problem, sorry into I nastuchal |
Answer: |
You govoryat that You have utf8 , there is Cyrillic. on all the engines we have Cyrillic what is the law ? can lead requirements for the script? where did you get it? as established? |
Question: |
law, is the name of the website which we govorli here dvanakub/lawУже said, I skripti. he created everything. Russian scripti Region chat and others are working on our fine host and on that host Russian letters in database can`t. All that know about utf-8, capital letter but in database not want.The script installed fine and everything works fine except kirilitsi |
Answer: |
but all the scripts are working properly on the server, the server has hundreds of sites all working . mysql_query(\"SET NAMES `utf8`\"); |
Question: |
Well, I believe You all right. |
Answer: |
you set? |
Answer: |
Check please now: Advertising Room:39 M - 11-01-2017 22:14:51 Test you Have a table with UTF8 encoding and the field in the table was in latin, I changed it and now Cyril is displayed normally. The problem was in wrong encoding in the table structure. |
Question: |
Thanks huge, all works, the host otlichnii, sorry into accusals respect Dragola, Romantic |
Answer: |
ok
|