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.
Questions tagged [non-ascii-characters]
1055 questions
-1
votes
1 answer
Arduino is not handling this special turkish char
I am working on a project that includes Turkish characters. But I can't use one of this chars in a if.
Example:
char myChar = 'ğ';
if(myChar == 'ğ'){
//DO SOMETHING
}

bahoz99
- 121
- 1
- 6
-1
votes
1 answer
Why Does re.sub() Not Work in Python 3.6?
I'm working on a project where I have to read data from an Excel spreadsheet. I'm using Python.
I noticed when I use "re.sub()" the characters in the original string are not replaced. When I use "string.replace()" the characters from the original…

Luis
- 7
- 1
- 3
-1
votes
1 answer
Hebrew char translates to "FFFF" in HEX
I have a code that translates ASCII char array to a Hex char array:
void ASCIIFormatCharArray2HexFormatCharArray(char chrASCII[72], char chrHex[144])
{
int i,j;
memset(chrHex, 0, 144);
for(i=0, j=0; i

Omri Blumenthal
- 9
- 1
-1
votes
1 answer
Replace string with \ char not work in visual studio 2019
On my project I need to import from clipboard excel data.
But in case we have german chars like "ä ö ü" I need to replace:
clipboardText = Clipboard.GetText(TextDataFormat.Rtf);
clipboardText.Replace("\u252\'fc", "ü");
I got this error from…

Remo Gwerder
- 1
- 2
-1
votes
1 answer
How to remove extended ASCII chars from SQL Server
So trying to remove all the extended ascii characters and used collation SQL_Latin1_General_CP1253_CI_AI in the ddl but still getting ascii characters. Is there any suggestion ?
I have a value stored in the sql as 'àccõrd' and i want it to be stored…

Ahmad KAmolov
- 35
- 3
-1
votes
2 answers
How to remove nonprintable characters in csv file?
I have some invalid characters in my file that I'm trying to remove. But I ran into a strange problem with one of them.
When I try to use the replace function then I'm getting an error SyntaxError: EOL while scanning string literal.
I found that I…

Tomasz Przemski
- 1,127
- 9
- 29
-1
votes
1 answer
I want to identify encoding of these videos
I have a bunch of videos I downloaded 20 years ago now. The website I believe had them in Japanese. My PC at the time didn't understand unicode characters and I downloaded them with Download Accelerator Plus I believe! So all of the video titles…

Ginko
- 149
- 2
- 12
-1
votes
1 answer
What character set is "é" from? (Python: Filename with "é", how to use os.path.exists , filecmp.cmp, shutil.move?)
What Character set is é from? In Windows notepad having this character in an ANSI text file will save fine. Insert something like and you'll get an error. é seems to work fine in ASCII terminal in Putty (Are CP437 and IBM437 the same?) where as …

user324747
- 255
- 3
- 16
-1
votes
1 answer
Printing characters that are not in ASCII 0-127 (Python 3)
So, I've got an algorithm whereby I take a character, take its character code, increase that code by a variable, and then print that new character. However, I'd also like it to work for characters not in the default ASCII table. Currently it's not…

Jack Bashford
- 43,180
- 11
- 50
- 79
-1
votes
1 answer
How to convert malformed database characters (ascii to utf-8)
I know many people will say this has already been answered like so https://stackoverflow.com/a/4983999/1833322 But let me explain why it's not just as straight forwarded..
I would like to use PHP to convert something "that looks like ascii" into…

Flip
- 4,778
- 1
- 34
- 48
-1
votes
1 answer
Chinese characters from HTML text print properly for some websites, but not others
I was trying to print out the HTML text for https://top.baidu.com and https://www.qq.com, which both use GB2312 character encoding. It prints normally to the console except for the Chinese characters, which come out as unreadable text like…

K Man
- 602
- 2
- 9
- 21
-1
votes
1 answer
using swedish letters ÖÄÅ with sort in batch
I need to sort a table of contents that contains Swedish letters in Batch.
I can echo them using (chcp 65001) at the top of my code.
Is there a way to to sort the list according to the swedish alphabetical order ?(something like LC_ALL=C.UTF-8 in…

AnyMadHats
- 1
- 1
-1
votes
2 answers
How do I keep only ascii and discard non-ascii, nbsp, etc while doing json.dumps
I read csv files using csv reader, and then convert it into a json file using dictionary.
In doing so, I would like only letters and numbers with no non-ascii characters or nbsp. I am trying to do it like this:
with open ('/file', 'rb') as…

Mr.President
- 163
- 1
- 9
-1
votes
1 answer
ASCII Char remove not functioning
If a string contains any non-ASCII value, i need to to delete it.
I have tried replaceAll mrthod which is working fine with jdk 1.8 and above. but i want to deploy the same on jdk 1.6 and is it not functioning.
String Remarks2 ="hii:╘’i";
String…

Shreyas
- 11
- 3
-1
votes
1 answer
Unicode -- Copyright Symbol
I'm trying to represent the copyright symbol © in Python.
If I type © into python interactive terminal I get '\xc2\xa9'. This is 169 and 194 in hexadecimal.
But if I look up the copyright symbol in the unicode table it's only 169.
Python…

longtimelurker42
- 23
- 5