Questions tagged [latin]
149 questions
23
votes
5 answers
Converting special charactes such as ü and à back to their original, latin alphbet counterparts in C#
I have been given an export from a MySQL database that seems to have had it's encoding muddled somewhat over time and contains a mix of HTML char codes such as & uuml; and more problematic characters representing the same letters such as ü and Ã.…

Gga
- 4,311
- 14
- 39
- 74
15
votes
1 answer
Unicode normalization (form C) in R : convert all characters with accents into their one-unicode-character form?
In Unicode, letters with accents can be represented in two ways: the accentuated letter itself, and the combination of the bare letter plus the accent. For example, é (+U00E9) and e´ (+U0065 +U0301) are usually displayed in the same way.
R renders…

AlxH
- 576
- 4
- 14
8
votes
2 answers
Get Cursor Position Android Keyboard
I am working on an Android soft keyboard and was wondering, is there a way for the keyboard to get the current cursor position? I am currently using the following code:
connection.getTextBeforeCursor(Integer.MAX_VALUE, 0).length()
However, this is…

lrAndroid
- 2,834
- 18
- 27
7
votes
1 answer
Lowercase of Unicode character
I am working on a C++ project that need to get data from unicode text.
I have a problem that I can't lower some unicode character.
I use wchar_t to store unicode character which read from a unicode file. After that, I use _wcslwr to lower a wchar_t…

Nguyên Phan
- 133
- 1
- 8
7
votes
3 answers
regular expressions with the Cyrillic alphabet?
I am currently writing some validation that will validate inputted data. I am using regular expressions to do so, working with C#.
Password = @"(?!^[0-9]*$)(?!^[a-zA-Z]*$)^([a-zA-Z0-9]{6,18})$"
Validate Alpha Numeric =…

amateur
- 43,371
- 65
- 192
- 320
6
votes
3 answers
Latin inflection:
I have a database of words (including nouns and verbs). Now I would like to generate all the different (inflected) forms of those nouns and verbs. What would be the best strategy to do this?
As Latin is a highly inflected language, there is:
a) the…

caw
- 30,999
- 61
- 181
- 291
6
votes
2 answers
How to print Latin characters to the C++ console properly on Windows?
I'm having a problem writing French characters to the console in C++. The string is loaded from a file using std::ifstream and std::getline and then printed to the console using std::cout. Here is what the string is in the file:
La chaîne qui…

jmegaffin
- 1,162
- 11
- 22
4
votes
1 answer
Unicode letters with more than 1 alphabetic latin character?
I'm not really sure how to express it but I'm searching for unicode letters which are more than one visual latin letter.
I found this in Word so far:
DZ
Dz
dz
NJ
Lj
LJ
Nj
nj
Any others?

BlackMatrix
- 474
- 5
- 19
4
votes
2 answers
Google Fonts, CSS, Latin Question
I'm trying to use this font on my web.
It's in Lithuanian language, but it's not the point, the point is, that on google fonts previewer I can see characters beautifully, but on my site some specific symbols gets some nasty look.
Maybe anyone…

Lukas Šalkauskas
- 14,191
- 20
- 61
- 77
4
votes
4 answers
Check that string contains non-latin letters
I have the following method to check that string contains only latin symbols.
private boolean containsNonLatin(String val) {
return val.matches("\\w+");
}
But it returns false if I pass string: my string because it contains space.
But I…

gstackoverflow
- 36,709
- 117
- 359
- 710
4
votes
1 answer
Golang regexp Boundary with Latin Character
I have a small tricky issue about golang regex.
seems \b boundering option doesn't work
when I put latein chars like this.
I expected that é should be treated as a regular char..
but it's treated as one of boundering wards.
package main
import (
…

toshipon
- 53
- 1
- 5
4
votes
1 answer
MySQL flatten latin characters to their non-latin equivalents
I'm seeking for a MySQL function to convert every special latin character (not to be confused with latin1 charset - I'm using utf8) to its non-latin equivalent from the standard A-Z letters range.
Here's what I literally want to achieve:
'Zażółć…

matewka
- 9,912
- 2
- 32
- 43
4
votes
2 answers
Detecting non european characters
I need to prevent my users from entering non-european characters in a text box.
For example, here's how I disallow Cyrillic:
$('.test').keyup(function(e) {
var toTest = $(this).val();
var rforeign = /[\u0400-\u04FF]/i;
if…

Fabio B.
- 9,138
- 25
- 105
- 177
4
votes
1 answer
Preventing Cyrillic/Greek/Chinese in a string - C# 4.0
We have a system (using ASP.NET C# 4.0) that supports Greek, Cyrillic, Chinese characters. But a third party system doesn't seem to work correctly. To avoid issues when entering data for this third party system, I want to limit the text fields to…

Andrew Johns
- 705
- 1
- 6
- 26
4
votes
2 answers
extracting non-matching records between files in Pig Latin
I am beginner, learning Pig latin. Need to extract the records from the file. Have created two files T1 and T2, Some tuples are common to both the files, So need to extract the tuples present only in T1 and need to omit the common tuples between T1…

user2639239
- 41
- 1
- 2