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

make textbox accept only English numbers or ascii numbers in asp.net C#

How can I make textbox accept just English or ASCII numbers? not Arabic numbers. I'm working on asp.net C#.
sibooy
  • 23
  • 7
-1
votes
1 answer

Converting a string to readable format in python

What text format is this: \xe1\x984a\x82@Z\xb4\x85\xd0 I would like to convert this to readable format. I attempted decoding with utf-16 but leads to error. Also encoding to ascii does not work.
user2685079
  • 104
  • 9
-1
votes
1 answer

Pi greco(3.14 costant ) in Windows 7

I have to write the famous Number 3.14 but i can’t find the right ascii code for it. Well i’ve found some codes likes 277, 244 , 960 but noone ‘ve worked . Any help? ~CODE FOR WINDOWS 7~
-1
votes
1 answer

Change Cell content in Excel using JAVA .jar called from VBA

I have kind of specific problem at work. I receive XLS file that has content in japanese characters and also alphabet letters and numbers, but all in full-width Japanese format. My problem is that Excel does not recognize these as normal letters and…
jirka k
  • 1
  • 1
-1
votes
2 answers

any way to terminate a hex entry without using a space

KEIL 9.55 This works: unsigned char code ID_Data_02[9]="\x02 1234567"; but what I really want is: unsigned char code ID_Data_02[8]="\x021234567"; in the first case I just transmit using *(p+0), followed by *(p+2) and ignore the white space that is…
JDL
  • 1
-1
votes
1 answer

Replacing special characters of items in array, PHP

Let's say I have following string: $string = "Ne, želim ići kući." Then I split it with preg_split("/[\s,.]+/",$string) and get an array with every word in the sentence: Array ( [0] => [1] => e [2] => želim [3] => ići [4] => kući [5] => ) How can I…
-1
votes
1 answer

string mutation with accented letters in php code

I have a string replacement that includes accented letters. I also used already a normalizer so that I have the same encoding and I cannot remove the diacritics because I need them for my output. My Code: $word =…
Moe Joe
  • 75
  • 7
-1
votes
1 answer

Python 3 like string conversion in python 2

I am porting my code to python 3 with maintaining backwards compatibility. The str function in python 2 and python 3 convert strings with non-ascii characters differently. For example: Python 2: In [4]: str('Alnus viridis (Chaix) DC. ssp. sinuata…
goelakash
  • 2,502
  • 4
  • 40
  • 56
-1
votes
1 answer

Disable Unicode (force ASCII) in Outlook 2013

Is there any way, via settings or a custom script, to force the use of ASCII-only encoding in Outlook 2013? I often pass one-liners and code snippets between myself and other developers, and we will copy-paste them into a command-line prompt for…
Cloud
  • 18,753
  • 15
  • 79
  • 153
-1
votes
1 answer

Odd behavior from mb_strlen when calling it through two functions

I often have to strip accents from strings, so I wrote a function, called accent(), to manage this more effectively. It was working well, but I recently ran into some characters that didn't get parsed correctly. This turned out to be an encoding…
-1
votes
1 answer

How to find non-ASCII symbols in a string. DB2

please advise on my particular issue. I have a table field with VARCHAR type. I need to validate this field the way it DOESN'T have any non-ASCII symbols (like ╥ ї ╡ etc.) I didn't find any ways to resolve this issue. Please give me a hand in…
-1
votes
2 answers

Accents conversion is wrong when adding text to dictionary

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 ASCII. For…
Gautier
  • 47
  • 1
  • 13
-1
votes
1 answer

How to get email.Header.decode_header to work with non-ASCII characters?

I'm borrowing the following code to parse email headers, and additionally to add a header further down the line. Admittedly, I don't fully understand the reason for all the scaffolding around what should be straightforward usage of the email.Headers…
Pyderman
  • 14,809
  • 13
  • 61
  • 106
-1
votes
1 answer

Are characters, such as — – §   " non-ascii or ascii?

I have a project where I need to "replace all non-ASCII characters (in a html) with ASCII equivalents wherever it is possible". I am just wondering: are characters in the title non-ascii or ascii? If they are non-ascii, how do I convert them into…
Jay
  • 658
  • 2
  • 12
  • 20
-1
votes
2 answers

Convert accented UTF8 codes to characters using PHP

How can i convert string like this %C4%BE%C5%A1%C4%8D%C5%A5%C5%BE-%C3%BD%C3%A1%C3%AD%C3%A9 to this: ľščťž-ýáíé using PHP ?
Daniel Rossko Rosa
  • 362
  • 1
  • 2
  • 11