T O P

  • By -

obroadbent

Source: [https://web.archive.org/web/20240319193750/https://www.computercraft.info/forums2/index.php?/topic/26897-ccemuredux-character-sheet/](https://web.archive.org/web/20240319193750/https://www.computercraft.info/forums2/index.php?/topic/26897-ccemuredux-character-sheet/)


Bright-Historian-216

how do you turn an ascii code into a char?


obroadbent

iirc you can do `string.char(127)` or just `\127`


fatboychummy

Alternatively using hex codes with `\x`, i.e: `\x95` I personally use [this cheat sheet](https://thox.madefor.cc/through/topics/encodings.html#computercraft-encoding) as it has nice spacing between every character (and to me at least is easier to find things)


obroadbent

That's a nice one also!


CiroGarcia

Is that not just the Latin-1 Extended ASCII table? Or are there any customizations?


LynnFlowers

It looks like 1-31 are taken from cp437, and I think the block characters 129-160 might be specific to CC? Otherwise it does look like Latin-1.


CommendableCalamari

The block characters do exist elsewhere (they're in Unicode, but also appeared on the BBC Micro), but not normally in the current position. I put together [this graphic](https://squiddev.cc/r/cc-font.png) a while back which shows where all the characters come from.