0

How to store both cyrillic and latin in MySQL and is there anything special that I should know to display cyrillic with PHP? (conversions etc.)

Thnx in advance

2
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by smantscheff
0

I have set, but in database everything becomes [BLOB] or something and I can't display it on the web page, some strange characters are displayed instead.

Can you explain in more details?

Thnx

0

There are numerous places where character encoding can be specifically set, among them database definition, table definition, field definition and interface character set. These all have to fit with each other to preserve the original data encoding.
Study this: http://www.koch.ro/blog/index.php?/archives/50-MySQL-character-sets-primer.html (including references) and this: http://www.phpwact.org/php/i18n/charsets
Make sure that your HTML has the correct encoding announced either in an HTML header or in a meta-tag (Content: text/html; charset=utf8)

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.