loading...

Discussion

markdown guide
 

ASCII control characters were intended for devices predates modern computers - electric typewriters, line printers, etc. (See en.wikipedia.org/wiki/Control_char...) They are almost certainly not needed today. That said, modern software has evolved to a point where we rely more on meta languages (XML, json, etc.) to define data structures and communication protocols, instead of single "flag" characters. That, along with UTF, might be why there isn't a strong motivation to revise the standard and use those code points for something else.

 

Ok, then with that out of the way, what do you think of the candidates I made for the table thus far?
jsfiddle.net/Calin_B/yv65ef93/

 

I would keep the uppercase letters. Otherwise you'd need two bytes to represent each of them?

Yea, though I want it to fit in one byte, so I'm going to move "Uppr" to position 3, swapping it with "Ackn". That way it fits perfectly in one byte, also, this table is just a candidate.

 

That's an interesting question to ask. Why are you wondering about that?

 

I want to make a slimmed down ascii table for encoding and deconding, with only keyboard, math, and important non-printables.
Also, the question itself is interesting, as you pointed out.

 

You could definitely write your own encoding! Most modern computers are only byte-addressable, though, so your encoding would need to be at least 8 bits wide (which is what modern ASCII is). Packing two characters into each byte might be a bit of a stretch, because that would only give you 4 bits per character (2^4 or 16 total characters).

Are you trying to save space or do you just not care about the other characters haha

I want to fit more characters into a smaller space, to make more room for more / new symbols.
I can give you a sololearn link if you'd like.

 

Well there are characters like 'bell' (0x07) that are not really used, actually I don't think I've seen hardly any of 0x01 - 0x1f used (apart from nl and cr). Depends what you mean by "needed to function". I presume you mean to display?

 

Important as in used for display, or used to execute instructions (i.e. programming).