Who can tell me what's the problem? I can read serbian and belarusian cyrillic languages web-sites without any problems and can type cyrillic texts on my localhost. Problem with phpMyAdmin is probably caused by incorrect character encoding guessing. This suggests that the strings in your database are really stored with windows encoding. Then if you output these strings and only claim that it uses UTF-8 encoding without doing any recoding , the result will be garbage text because that byte stream contains invalid UTF-8 byte sequences.
You should either continue serving your pages with windows charset and tell phpMyAdmin to use this charset too or you should switch to unicode everywhere also internally, in the database.
The less character conversions and guessing the proper encoding you need, the easier it will be to maintain your system.
Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 10 years, 1 month ago. Active 9 years, 8 months ago. Viewed 3k times. Thank you. Owen Blacker 3, 2 2 gold badges 34 34 silver badges 69 69 bronze badges.
Haradzieniec Haradzieniec 8, 27 27 gold badges silver badges bronze badges. You must use utf-8 everywhere - db tables collation, html charset.
You've obviously had it wrong from the beginning and data in your db is not encoded properly, hence it's not gonna show on the page properly. Both can be removed:. As the scheme attribute is now obsolete, it should now be removed. Rocket Validator Skip to content. According to the W3C standard: The element containing the character encoding declaration must be serialized completely within the first bytes of the document.
Source: W3C: document metadata. Learn more: W3C: Document metadata. Other values that can be used with the http-equiv attribute include: content-security-policy content-length.
Learn more: MDN: http-equiv. Consider avoiding viewport values that prevent users from resizing documents. Learn more: MDN: Using the viewport meta tag to control layout on mobile browsers. Learn more: MDN: The script element. Forbidden code point X. Documents must use UTF Use only one scheme per field, or make the scheme declaration part of the value.
Type some text to a textbox bellow Charset of this document and textbox is. Note: The source file is handled as a text data with specified character set. The textbox is handled as a string data, default character set for the textbox is the same as a charset of this document windows Client browser handles the data from the source form as a string data encoded by document charset windows in the case of this document and sends the data as a binary http stream to a web server.
You can choose another character set for the conversion of the source text data the textarea.
0コメント