cyrillic

Cyrillic , AJAX and database

Database - MySQL. I save form data in the database with native AJAX. In file 1 (where is the form and AJAX) I have <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> and mysql_query("SET CHARACTER SET utf8"); In file 2 (database submission) I have mysql_query("SET CHARACTER SET utf8"); iconv_set_encoding("inter...

NHibernate, SQLite, and Cyrillic characters: case sensitivity and fallback queries

I'm querying an SQLite database using NHibernate. Generally, I want to do case insensitive string queries. Recently, I've discovered that although I can insert a row with Cyrillic characters, I can not select it using a case insensitive query. This is what the query looks like: string foo = "foo"; IList<T> list = session.CreateCriteria(...

Encoding problem while trying to read and write in html file with Java

I'm trying to read some text from an html file, modify it in a specific way and write the result in a new html file. But the problem is that the text is not written in English and as a result some characters are replaced with black and white "?" marks. In my html file, I have < meta http-equiv="Content-Type" content="text/html; charset...

MySQL SELECT problem with encoding (cyrillic, probably)

Hi, guys! I'm working with project on exporting data from text files to mysql database Text files contain both latin and cyrillic alphabets. Here is the bug: select * from cues where data="ГЭС"; +------+------+ | id | data | +------+------+ | 1872 | АЭС | | 4671 | ГЭС | +------+------+ Why I get "АЭС" also? The same ...

Problem with cyrillic characters in Ruby on Rails

Hi, In my rails app I work a lot with cyrillic characters. Thats no problem, I store them in the db, I can display it in html. But I have a problem exporting them in a plain txt file. A string like "элиас" gets "—ç–ª–∏–∞—Å" if I let rails put in in a txt file and download it. Whats wrong here? What has to be done? Regards, Elias ...

passing cyrillic characters in URL parameter in iPhone app.

I need to pass cyrillic characters as a parameter in a URL in my iPhone app. A sample URL looks like: http://www.mysite.com/script.php?message=страшная When I use this URL in my browser, it returns the correct result. However, in my app, the cyrillic is not liked, and I end up getting a "bad url" in the didFailWithError code. I have...