I have to make an russian version of a website, but I can't find out, how to insert russian characters into Database.
I tryed almost every possible coding, but it only shows:
???????? ?????????? ??????? ??????? ? ????? ?? ????????????? ? ???????, ??????? ????? ??????? ???????? ????? .??? ??????????? ???????? ????? ?? ????? ?????????? ? ????? ????????.
??????????? ?????? ?? ???????? ????? ?? 20 ???????. ???????? ??? ?? ??????????? ?????????????? ????? ? ????????????? ??????? ??????. ? ???????, ? ??????? ? ?.?.
text/html; charset=utf-8
. Enter in russian text directly to the form input.SET NAMES utf8
so it's stored as UTF-8 before you insert the data, in a separate query beforehand.Content-Type
is text/html; charset=utf-8
.Make sure that the content-type is not windows-1251 or iso-8859-1/latin1. Make sure the database charset/collation is NOT ISO-8859-1/Latin1.