Skip to main content

Questions tagged [ascii]

9 votes
7 answers
3k views

I frequently encounter recommendations to specifically keep to ASCII characters in field and function names in documentation, even though non-ASCII (modern Unicode) generally works perfectly. An ...
Michael Macha's user avatar
2 votes
3 answers
154 views

For example, in Vietnamese, there are Unicode characters like "â", "ê", "ô", "ư", v.v. To type them from keyboard, I need to type aa, ee, oo, w, then a program ...
Ooker's user avatar
  • 335
2 votes
1 answer
443 views

I am developing against a file spec that lists the data type for certain fields as CHAR(<length>) The spec is for a fixed width flat file. In most cases, possible values to populate the fields ...
mathewb's user avatar
  • 137
10 votes
1 answer
3k views

Git can generate patches/diffs for binary files as well as for text files. I'm trying to figure out what encoding it uses for its binary patches. Here is an example: diff --git a/www/images/...
Dan Lenski's user avatar
15 votes
1 answer
6k views

In the ASCII table, punctuation characters appear between the non-printing characters and before the numbers (!"#$%&')*+,-./), between the numbers and the uppercase letters (:;<=>?@), ...
Qqwy's user avatar
  • 4,947
0 votes
1 answer
1k views

Why is it that : System.out.println(+'A') //gives output as 65 System.out.println('A') //gives output as A Also System.out.println(8+4+'A'+"PRIME"+4+4+'A'); gives output as 77PRIME44A Why ...
Excalibur's user avatar
2 votes
1 answer
1k views

I have the wikipedia data dump and trying to decode special characters in the page titles, except a lot of characters don't match up the "standard" ascii encoding (referencing from here.) As an ...
AltusVultur's user avatar
1 vote
2 answers
3k views

Today I was presented with a very nasty problem and I do not quite know where to ask this but hope here is ok. So I have the following string: "\0" (at least that's how it looks in visual studio). If ...
Vincent's user avatar
  • 383
2 votes
2 answers
3k views

I was reading about compilers and was given an example of creating a basic compiler that recognizes escape sequences without referencing ASCII. Somebody suggested that once I compile a piece of code ...
justthom8's user avatar
  • 141
70 votes
6 answers
49k views

We are using MySQL at the company I work for, and we build both client-facing and internal applications using Ruby on Rails. When I started working here, I ran into a problem what I had never ...
Ten Bitcomb's user avatar
  • 1,174
7 votes
1 answer
900 views

While looking at the Unicode properties (code point, script, block, UTF-8 and UTF-16 encoding, etc.) of some characters, I stumbled upon major differences between ` ("GRAVE ACCENT") and ´ (&...
xehpuk's user avatar
  • 177
2 votes
2 answers
1k views

I programmed a telnet server using C as programming language but I have a problem to send characters with emphases (é, è, à ...). The character encoding is different between the telnet clients (...
ipStack's user avatar
  • 121
0 votes
2 answers
515 views

I'm working through a problem in Programming Pearls -- specifically, the implementation of a program which sorts a file containing, at most, 10,000,000 integers, each of which is 7 digits long (Column ...
Drake Sobania's user avatar
12 votes
5 answers
30k views

I'm working with an embedded device with a unique protocol that sends messages to other devices and I'm making an application that parses the sent packets. Each packet carries 8 bytes. The protocol is ...
TtT23's user avatar
  • 1,542
2 votes
2 answers
347 views

I'm fixing code that is using ASCIIEncoding in some places and UTF-8 encoding in other functions. Since we aren't using the UTF-8 features, all of our unit tests passed, but I want to create a ...
makerofthings7's user avatar

15 30 50 per page