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
7
votes
1 answer

Getting an empty list as attribute when parsing XML with xml.etree.ElementTree

So I use python 3 to parse an XML. text = ''' 16934673 29.02.2016 1 1 08:15
Kirill
  • 163
  • 1
  • 10
7
votes
1 answer

Is it possible to use cyrillic symbols in Lumen(by Laravel)?

The issue is I can't use any russian symbols in the response()->json() method. I've already tried the following code: return response()->json(['users' => 'тест']); and return response()->json(['users' => mb_convert_encoding('тест',…
Sergey
  • 5,396
  • 3
  • 26
  • 38
7
votes
1 answer

FOP doesn't show cyrillic characters

I need help to display Cyrillic characters with FOP in Java. I created the xml of the content and the xsl file what will format the newly PDF. Both of them are using UTF-8 character encoding. But in the result file I see only "#" charactersinstead…
mlorika
  • 125
  • 2
  • 7
7
votes
1 answer

Solr russian spellcheck

I am using solr spellcheck for russian language. When you are typing with Cyrillic chars, everything it's ok, but it doesn't work when you are typing with Latin chars. I want that spellcheck correct and when you are typing with Cyrillic chars and…
KiraLT
  • 2,385
  • 1
  • 24
  • 36
7
votes
2 answers

mb_convert_encoding for russian in php

how to convert Russian character to utf-8 in PHP using mb_convert_encoding or any other method?
coderex
  • 27,225
  • 45
  • 116
  • 170
6
votes
2 answers

Check if a character is Russian

I would like to know if a string contains Russian/Cyrillic characters. For latin characters, I do something like this (pseudocode): text := "test" for _, r := range []rune(text) { if r >= 'a' && r <= 'z' { return True } } return…
Thomas
  • 8,306
  • 8
  • 53
  • 92
6
votes
3 answers

Haskell IO russian symbols

I an trying to process a file which contains russian symbols. When reading and after writing some text to the file I get something like: \160\192\231\229\240\225\224\233\228\230\224\237 How can I get normal symbols?
Anton
  • 2,535
  • 2
  • 25
  • 28
5
votes
2 answers

How can I list contents of folders with Cyrillic font?

I want to list the contents of my directories and sub-directories in a file, but the contents of the sub-directories have Russian titles. How can I do that? If I list the contents in the command prompt window the list shows correctly. This works. >…
HGamble
  • 415
  • 5
  • 17
5
votes
1 answer

Why do UTF-8 characters not work in jquery textcomplete?

I am using the autocompleter jquery-textcomplete in my web app. It's working fine for English and Russian letters. But it is not working for certain special letters such as "ҷ". Code: $('.form-control').textcomplete([{ words: ['тоҷик',…
John
  • 468
  • 3
  • 16
5
votes
3 answers

iText libs - doesn't show Cyrillic(Russian) symbols

I've already spent a few days, what am I doing wrong ?. I just can not get Russian characters out. Tried all the code above - it did not help. Below I quote my code with different options. Help me please. The library is connected as…
rusyaka84
  • 161
  • 2
  • 10
5
votes
1 answer

grails 3 oracle datasource for russian text

I am working on a grails application which connects to oracle database. It works fine except when there are any russian text in the db. For russian text, I get inverted ?. There are some approach in other questions for mysql but I could not find…
saurabh
  • 2,389
  • 3
  • 22
  • 37
5
votes
2 answers

Remove accent marks from characters while preserving other diacritics

In a few Slavic languages, written in both Latin and Cyrillic, rising and falling accent marks are used only for disambiguation in context, ie inconsistently, only on vowels. I would like a Python code or lib remove to acute and grave accents from…
Adam Bittlingmayer
  • 1,169
  • 9
  • 22
5
votes
1 answer

How to write Cyrillic text when using the debugging format?

While using println! works as expected: println!("Привет!"); // Привет! With debugging format however: println!("{:?}", "Привет!"); // "\u{41f}\u{440}\u{438}\u{432}\u{435}\u{442}!" Using assert!: assert!("Привет!" != "Привет!") // 'assertion…
latrasis
  • 280
  • 2
  • 8
5
votes
2 answers

How to read Cyrillic Unicode file in C++?

I'm trying to read lines from .txt files, that have been saved as Unicode. That's how i'm doing it: wifstream input; string path = "test.txt"; input.imbue(locale(input.getloc(), new codecvt_utf16
max_hassen
  • 387
  • 1
  • 5
  • 16
5
votes
6 answers

Transliterate cyrillic symbols in string into latin in Ruby?

How do I transliterate Cyrillic symbols in string into Latin in Ruby? I can't find any docs on that. I thought there should be some standard function for that.
Gherman
  • 6,768
  • 10
  • 48
  • 75
1
2
3
37 38