Questions tagged [non-ascii-characters]

ASCII stands for 'American Standard Code for Information Interchange'. ASCII is a character-encoding scheme based on the ordering of the English alphabet. Since ASCII only contains definitions for 128 characters, numerous other encoding schemes have been created to include characters from other alphabets and other symbols.

1055 questions
-1
votes
1 answer

Preserving accentuated letters when running a PERL script from linux terminal

I want to get a plain text file from the French Wikipedia dump XML file. To that end, I am applying a Perl script I can give the full file if necessary, I only added the line tr/a-zàâééèëêîôûùç-/ /cs; to the script here:…
Mostafa
  • 1,501
  • 3
  • 21
  • 37
-1
votes
1 answer

ASCII characters set

I am reading a (.txt) file, the contents of first line are just the four alphabet letters: "abcd". when I display the ASCII code of these letters, I expect I to find 97,98,99 and 100 respectively for a,b,c and b. But I found tow special characters…
-1
votes
2 answers

UnicodeEncodeError with my code

I have problem with UnicodeEncodeError in my users_information list: {u'\u0633\u062a\u064a\u062f@nimbuzz.com': {'UserName': u'\u0633\u062a\u064a\u062f@nimbuzz.com', 'Code': 5, 'Notes': '', 'Active': 0, 'Date': '12/07/2014 14:16', 'Password':…
Mahmoud Al Nafei
  • 349
  • 1
  • 3
  • 9
-1
votes
1 answer

How can I read non-ascii characters from a file in C?

I am right now reading in like this: while (fscanf(in, "%c", infile) != EOF) { ch = *infile; count++; ascii[ch]++; } And making my frequency table like this: void frequency () { unsigned long long i; for (i…
user3366369
  • 13
  • 1
  • 8
-1
votes
1 answer

VkKeyScanEx fails for german Keyboard layout

I have a custom file which stores a list of German umlauts ("ä" "ö" ) My program needs to read these letters and print an ascii value. I have tried this key = (WORD) VkKeyScanEx((TCHAR) szLetterName[0], ::GetKeyboardLayout(0)); This piece of code…
Rajasekhar
  • 19
  • 3
-1
votes
2 answers

Is there any possible way to display accented characters in Python interpreter?

I am trying to make a random wiki page generator which asks the user whether or not they want to access a random wiki page. However, some of these pages have accented characters and I would like to display them in git bash when I run the code. I am…
user3084415
  • 75
  • 2
  • 8
-2
votes
1 answer

Why isn't there a Unicode character for the Unicode logo?

Why isn't there a Unicode character to represent Unicode itself? I did a quick search but found no results [0]. According to the official FAQ [1]: Unicode covers all the characters for all the writing systems of the world, modern and ancient. I…
lseki
  • 351
  • 6
  • 21
-2
votes
1 answer

Encoding.GetEncoding("Cyrillic") making all text question marks in .NET

Why is the txt being converted to the txt with the method below? ???????????? ???????????????? ???????????????????? ?????????????? ???????? ?????? ???????? This I believe did not happen before but I just saw it doing it. I am using .NET 4.8. …
Mike Flynn
  • 22,342
  • 54
  • 182
  • 341
-2
votes
1 answer

How to convert floating into hex in JMETER

how to convert the floating variable into hex in JMETER. Any idea, thanks.
Harmya
  • 41
  • 8
-2
votes
3 answers

How do I delete a file with name ''$'\r'?

For some reasons, I have a file in one of my directories that I cannot delete: $ ls -al drwxrwxr-x 2 xxx xxx 4096 Oct 10 14:05 ''$'\r' (more files follow...) The problem is that I cannot delete it. I tried rm ''$'\r' and ls using wildcards to at…
user52366
  • 1,035
  • 1
  • 10
  • 21
-2
votes
2 answers

a word that begins with an uppercase accented (java)

Possible Duplicate: Detecting words that start with an accented uppercase using regular expressions in java ,how to test if a string begins with an uppercase letter accented ,like this Ëfdk,Ä... do you have some ideas
user651584
  • 49
  • 1
  • 7
-2
votes
2 answers

Is it safe to use non-ascii characters on Android app?

I recently noticed that I save non-ascii characters to file and read those characters from files. Could this cause crash on some phones?
asd
  • 1
-2
votes
1 answer

python unidecode - how to use

Using python, given that string = "Tiësto & Sevenn - BOOM (Artelax Remix)" which contains non-ascii characters, how do I use unidecode to fix the string so stripped clean of non-ascii characters? string =…
god
  • 65
  • 2
  • 8
-2
votes
1 answer

Accents conversion is wrong when adding text to dictionary and send to server

I have an array of dictionnaries: [[String:String]]. Every dictionnary countain a string parameter (text) in french. When I put this array in a dictionnary: [String:AnyObject], accents in the string text parameter are converted in their…
Gautier
  • 47
  • 1
  • 13
-2
votes
2 answers

Declaring a std::string after Unicode to ASCII conversion is giving Segmentation fault

I am trying to take a wchar_t string from stdin and then convert it from unicode to ASCII through a function. The function is somehow not allowing me to use std::string further in the program. #include #include #include…
1 2 3
70
71