Questions tagged [non-english]

Use this tag for questions that relate to problems involving text or data that is written in another language besides English.

Note that this tag should not be used to ask questions on StackOverflow in a language other than English. All questions on this site must be written in English.

216 questions
113
votes
7 answers

Can an email address contain international (non-english) characters?

If it's possible, should I accept such emails from users and what problems to expect when I will be sending mails to such addresses?
User
  • 30,403
  • 22
  • 79
  • 107
72
votes
6 answers

Detect strings with non English characters in Python

I have some strings that have a mix of English and none English letters. For example: w='_1991_اف_جي2' How can I recognize these types of string using Regex or any other fast method in Python? I prefer not to compare letters of the string one by…
TJ1
  • 7,578
  • 19
  • 76
  • 119
46
votes
7 answers

Use regular expression to match ANY Chinese character in utf-8 encoding

For example, I want to match a string consisting of m to n Chinese characters, then I can use: [single Chinese character regular expression]{m,n} Is there some regular expression of a single Chinese character, which could be any Chinese characters…
xiaohan2012
  • 9,870
  • 23
  • 67
  • 101
23
votes
1 answer

MinGW g++ gives warnings in the wrong language (German instead of English)

My problem is the following: When I compile a C++ Project with eclipse (Juno, 64bit, Java 7u3) on my Windows 7 laptop, I get german errors/warnings. This results in warnings showing as errors in eclipse. Windows 7, 64bit, settings : Display…
19
votes
2 answers

Foreign language characters in Regular expression in C#

In C# code, I am trying to pass chinese characters: " 中文ABC123". When I use alphanumeric in general using "^[a-zA-Z0-9\s]+$", it doesn't pass for "中文ABC123" and regex validation fails. What other expressions do I need to add for C#?
user2683269
  • 193
  • 1
  • 1
  • 7
15
votes
4 answers

How can I create an alphanumeric Regex for all languages?

I had this problem today: This regex matches only English: [a-zA-Z0-9]. If I need support for any language in this world, what regex should I write?
tawfekov
  • 5,084
  • 3
  • 28
  • 51
10
votes
5 answers

Non-localized version of MinGW/MSYS2?

Is there a way to download MinGW/MSYS2 with gcc, that is not localized? Localized gcc causes all warnings to become errors in CodeBlocks, if the system language is not English. This bug is also reported…
x squared
  • 3,173
  • 1
  • 26
  • 41
9
votes
8 answers

Non-English domain naming issues in programming

Most programming code, I imagine is written in English. But I'm curious how people are handling the issue of naming herein. A lot of programming is done within some bussiness domain, usually with well established terms for certain procedures,…
Svend
  • 7,916
  • 3
  • 30
  • 45
8
votes
1 answer

Plural naming convention for composite objects

The question is about the correct way to name variable or identifiers that groups collections of two or more "things". Let me explain a little further with example and question... If you something that holds an id you may name it with the…
Victor
  • 3,841
  • 2
  • 37
  • 63
8
votes
5 answers

Checking for Administrator user login in non-English installations of windows

I have some small questions...I have a program that stores a list of users in a database and compares on program startup if the user is in the list or is an administrator before letting them use it. At the moment, the way I'm using to check if the…
8
votes
2 answers

English as language for the dates ticks using matplotlib

I'm a French native speaker, so my OS interface (GNU/Linux Xubuntu) is in French Thus, when I plot a time series using Matplotlib with datetime as X data, the returned plot have the months written in French How can I obtain those printed dates in…
Covich
  • 2,544
  • 4
  • 26
  • 37
7
votes
1 answer

How to display all non-English characters correctly in a web site?

It's annoying to see even the most professional sites do it wrong. Posted text turns into something that's unreadable. I don't have much information about encodings. I just want to know about the problem that's making such a basic thing so…
Ufuk Hacıoğulları
  • 37,978
  • 12
  • 114
  • 156
7
votes
4 answers

How to remove english alphabets from list in python

I have a list with some English text while other in Hindi. I want to remove all elements from list written in English. How to achieve that? Example: How to remove hello from list L below? L = ['मैसेज','खेलना','दारा','hello','मुद्रण'] for i in…
Ishpreet
  • 5,230
  • 2
  • 19
  • 35
6
votes
2 answers

Language dependent sorting with R

1) How to sort correctly? The task is to sort abbreviated US states names in accordance with English alphabet. But I noticed, that R sorts lists basing on some kind of operating system language or regional settings. E.g., in my language (Lithuanian)…
GegznaV
  • 4,938
  • 4
  • 23
  • 43
6
votes
3 answers

possible to raise exception that includes non-english characters in python 2?

I'm trying to raise exception in python 2.7.x which includes a unicode in the message. I can't seem to make it work. Is it not supported or not recommended to include unicode in error msg? Or do i need to be looking at sys.stderr? # -*- coding:…
gotchula
  • 171
  • 1
  • 4
1
2 3
14 15