Wat i need to choose in sql db tabel "Collation"
to make posible to read russian letters
please help THX
dan1992
0
Junior Poster in Training
Recommended Answers
Jump to PostThe Cyrillic character sets and collations are for use with Belarusian, Bulgarian, Russian, Ukrainian, and Serbian.
As soon as you connect to the database execute this:mysql_query("SET NAMES CP1251");
And instead of ????? you get Russian characters (if they are in the database that is).
Jump to Posthm
is not working with "cp1251_ukrainian_ci" :(No it isn't. It should be
mysql_query("SET NAMES CP1251");
. And if that doesn't work use
mysql_query("SET NAMES KOI8R");
. But remember to use it just after your php command where you connect to the database.
All 7 Replies
colweb
13
Posting Whiz
dan1992
0
Junior Poster in Training
colweb
13
Posting Whiz
dan1992
0
Junior Poster in Training
colweb
13
Posting Whiz
dan1992
0
Junior Poster in Training
colweb
13
Posting Whiz
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.