Questions tagged [cyrillic]

For questions about code that deals with any kind of Cyrillic (including the original Cyrillic script and the modern Cyrillic alphabets, such as the Russian alphabet).

563 questions
5
votes
2 answers

VBA - Convert string to UNICODE

I need to convert the string HTML from a mix of Cyrillic and Latin symbols to UNICODE. I tried the following: Public HTML As String Sub HTMLsearch() GetHTML ("http://nfs.mobile.bg/pcgi/mobile.cgi?act=3&slink=6jkjov&f1=1") MsgBox HTML …
Trenera
  • 1,435
  • 7
  • 29
  • 44
5
votes
1 answer

Russian Language in Android Emulator

I would like to test my application using Android Emulator. To do this, I need to send SMS in Russian. The problem is that I cannot make emulators input Russian characters. For example, I set all the locale and language settings into Russian…
user1460819
  • 2,052
  • 5
  • 26
  • 35
5
votes
4 answers

Matching russian vowels in C++

I wanted to write a function which returns true if a given character is a russian vowel. But the results I get are strange to me. This is what I've got so far: #include using namespace std; bool is_vowel_p(char working_char) // returns…
beyeran
  • 885
  • 1
  • 8
  • 26
4
votes
4 answers

HTML in Russian

I have to design a Russian version of a web. I get the text from a translator. I copy it in the code of the Dreamweaver but it doesn't work. I have the usual head: What should I…
Nrc
  • 9,577
  • 17
  • 67
  • 114
4
votes
2 answers

How can char store two numbers?

The case in next: I have cyrillic symbol "б". Running next code: int main() { char c; scanf("%c", &c); printf("%d\n", c); return 0; } Shows -48. BUT when i am debugging this variable c, it shows me next: -48 '\320'. So how does this…
V. Dalechyn
  • 314
  • 1
  • 10
4
votes
1 answer

Passing Cyrilics in Xpath Contains returns XML value error. Scrapy. Python 2

I am trying to get an element like this by xpath Text contains.

Полное наименование

As a result I am getting this error. In [4]:…
Billy Jhon
  • 1,035
  • 15
  • 30
4
votes
2 answers

Convert text dump of a binary string into real string

A python library outputs me text-dumped binary utf-8 strings, like that: In [1]: string Out[1]: "b'\\xd0\\x9f\\xd1\\x80\\xd0\\xb5\\xd0\\xb4\\xd0\\xb8\\xd1\\x81\\xd0\\xbb\\xd0\\xbe\\xd0\\xb2\\xd0\\xb8\\xd0\\xb5'" In [2]: type(string) Out[2]: str I…
krvkir
  • 771
  • 7
  • 12
4
votes
2 answers

Strange symbols when uploading a file with cyrillic names

I am using Laravel and Dropzone.js. Everything's fine until I upload file with a cyrillic name. The file's name in the directory looks like - Приети РїРѕ специалности_окончателно-РЅРѕРІ_0 This is something with the…
Alex
  • 485
  • 6
  • 18
4
votes
0 answers

sqldf LIKE operator for cyrillic words

I have a table - data.frame in UTF-8: id|city 1|Moscow 2|London 3|Москва Row 3 is a Russian name for a city I'm using sqldf library: sqldf("select * from table_name where city like '%Moscow%'") It's OK (returns 1st row) sqldf("select * from…
Ivan
  • 107
  • 1
  • 7
4
votes
1 answer

What is right way to use cyrillic in python lxml library

I try to generate .xml files fith cyrillic symbols within. But result is unexpected. What is the simplest way to avoid this result? Example: from lxml import etree root = etree.Element('пример') print(etree.tostring(root)) What I get…
meathme
  • 71
  • 8
4
votes
3 answers

Renaming Cyrillic file names

What I have in mind is iterating through a folder to check whether the file names contain any Cyrillic characters, if they do, rename those files to something else. How could I do this ?
Mario Geuenich
  • 294
  • 1
  • 7
  • 17
4
votes
2 answers

Android to php send UTF8 encode text, not working with cyrillic or arabic characteres

I need to send a String from Android to a php web service (user input in a EditText). This run ok, with standars characteres, and some special chars (like accents, ñ and more), but when I send cyrillic or arabic chars, the web service do not…
4
votes
1 answer

Russian symbols in Python output corrupted (ENCODING)

I parsed a HTML document and have Russian text in it. When I'm trying to print it in Python, I get this: ÐлÑбниÑнÑй новогодний пÑÐ½Ñ I tried to decode it and I get ISO-8859-1 encoding. I'm trying to decode it like that: print…
aaaapppp
  • 51
  • 1
  • 5
4
votes
1 answer

Python: Cyrillic handling

I got this data returned b'\\u041a\\u0435\\u0439\\u0442\\u043b\\u0438\\u043d\\u043f\\u0440\\u043e from an API. This data is in Russian which I know for sure. I am guessing these values are unicode representation of the cyrillic letters? The data…
user1757703
  • 2,925
  • 6
  • 41
  • 62
4
votes
1 answer

Python 2.7 pip UnicodeDecodeError

I got fresh installed Windows 7 x64 Professional with Python 2.7 and pip. There was no errors during the installation, but when I'm trying to pip install xlrd in CMD i got next: C:\Users\Владислав>pip install xlrd Downloading/unpacking xlrd …
lebvlad
  • 49
  • 1
  • 7
1 2
3
37 38