Questions tagged [non-latin]
70 questions
2
votes
1 answer
Converting russian string to datetime
I am trying to scrape a russian website. However i am stuck with trying to convert a russian cyrillic to DateTime object.
Let's take this html piece for example:
22 января весь день
I am able fetch the…
sztyrymytyry
- 151
- 2
- 12
2
votes
0 answers
Non-Latin characters or 301 handling? Scraping jpgs and json keys from Google Earth View
I'm trying to scrape the source images from Google's Earth View page, while renaming them to meaningful filenames so that each filename contains the city or country, in addition to its file number.
I achieved this going through the JSON files. I…

davebirinyi
- 21
- 4
2
votes
1 answer
QKeyEvent handling non-latin layouts
What is the way to handle non-latin keys pressed with Qt?
For example, for 'W' key pressed QKeyEvent::key() returns 87, but for 'Ц' - the same key in the russian layout - it returns 1062.
So I can't use constants like Qt::Key_W for checking which…

mvlabat
- 577
- 4
- 17
2
votes
1 answer
xslt disable-output-escaping turns non-latin characters into question marks "...???????????..."
I'm using xslt do display Solr response in html, my xsl file is in UTF-8 and non-latin characters (arabic) are nicely displayed, the problem is that when I use
disable-output-escaping="yes" to parse html tag, the non-latin chars become a series of …

elsadek
- 1,028
- 12
- 39
2
votes
1 answer
Identification of non-latin characters in android
I'm trying to get code of pressed key in my android activity
@Override
public boolean onKeyDown(int keyCode, KeyEvent event){
char ch = (char) event.getUnicodeChar();
return super.onKeyDown(keyCode, event);
}
but the keyCode does not depend…

Diaus
- 131
- 1
- 5
2
votes
1 answer
Can't get non-latin chars from clipboard on c# correctly
I'm developing a dictionary.
I'm using this code, to get text from the clipboard.
[DllImport("User32.dll")]
protected static extern int SetClipboardViewer(int hWndNewViewer);
[DllImport("User32.dll", CharSet = CharSet.Auto)]
public…

vinsa
- 1,132
- 12
- 25
1
vote
1 answer
AS3 - RegExp with special characters
I'm trying to find all words with a hash in front if they are placed after the end of the sentence.
(These ones: #Example #FOO #hello_world #foo-bar #2012 #special-äüöå #russia-Русский #arabic-العربية)
This is the RegExp:
var regex:RegExp =…

Uli
- 2,625
- 10
- 46
- 71
1
vote
0 answers
Android non-latin letters conversion
I have search in the ListView. When I insert Latin letters, I need the result returned in cyrilic utf-8. I've been thinking about catching all letters and converting them to Cyrillic but there are 31 letters. Is there a simple way to do this in…

Worker123
- 595
- 4
- 13
- 32
1
vote
1 answer
latin and non latin multi language url with next.js
We have to build react web with next.js and problem with multilanguage url. Our goal is same content for diffrent language have diffrend url slug. For example www.tld.com/blog for blog page in english post list, www.tld.com/блог for blog page in…

tsogtgerel.ts
- 955
- 1
- 15
- 32
1
vote
1 answer
Vim – document navigation don't work on cyryllic texts in Windows but works in Linux
Good morning!
Recently I installed gvim on windows 10 and started vimtutor. My home language is Russian and vimtutor was translated by default.
After entering lesson 2.1 I found out that I can't use dw to delete words. Using this command I can…

proggamer12
- 11
- 2
1
vote
1 answer
How to use non-latin characters with ScriptSharp
I am trying to write:
options.Title = "Русский текст";
and in compiled JS i am getting:
options.title = '\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd \ufffd\ufffd\ufffd\ufffd\ufffd';
So all characters in the title are replaced with '\ufffd'. And i…

admax
- 1,671
- 2
- 16
- 23
1
vote
2 answers
How to return whole non-latin strings matching a reduplication pattern, such as AAB or ABB
I am working with strings of non-latin characters.
I want to match strings with reduplication patterns, such as AAB, ABB, ABAB, etc.
I tried out the following code:
import re
patternAAB = re.compile(r'\b(\w)\1\w\b')
match =…

gl3yn
- 301
- 1
- 3
- 13
1
vote
1 answer
Are non-Latin characters allowed in #error directive?
Is using non-Latin characters in #error directive allowed by C++ Standard?
E.g. I would like to write an error message in Russian:
#error Сообщение об ошибке
int main() { }

αλεχολυτ
- 4,792
- 1
- 35
- 71
1
vote
0 answers
how to deal with non-latin character in
i have the following php code not returned images containing non-latin character,because their links show weird address.
if($image) {
var_dump(mb_detect_encoding($image, 'UTF-8', true))
$doc = new DOMDocument();
$doc->loadHTML($image);
…

Hamihamidd
- 39
- 1
- 10
1
vote
1 answer
jQuery/Ajax - decoding non-Latin data; how to deal with escaping Greek chars
I'm having trouble decoding Greek text when using ajaxed infinite scrolling. It's the first time I'm dealing with non-English data, but as far as I understand every single Greek character needs to be escaped, because otherwise Ajax breaks trying so…

Pringles
- 4,355
- 3
- 18
- 19