A
A
Andrey Ivanov2016-04-06 19:53:59
PHP
Andrey Ivanov, 2016-04-06 19:53:59

PHP. Encoding problem. How to decide?

The fact is that I need to extract the text from the .docx file and place it in the mysql database. When I try to do this, Russian characters are displayed incorrectly. Can you tell me how this can be fixed?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander, 2016-04-06
@NeiroNx

recode to display correctly

Z
zooks, 2016-04-06
@zooks

If the problem is not with the database encoding or PHP, then try copying through notepad.

A
Alexander Sisyukin, 2016-04-06
@Caarl

mb-detect-encoding
icon
first determine which encoding, then bring it to the one you need and write it to the database

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question