How do I print Extended ASCII Codes?

Hi all,

I've been searching for the past few days on how to print the characters shown here in the console (Windows, or any other console too), and I am not finding anything. Does anyone know if this is possible?

Note: I am very new to Python (but not programming) and have decided to try and learn by emulating one of my favourite games: Trade Wars 2002.

Thanks in advance for any guidance that can be provided!

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/SavageGoatToucher
πŸ“…︎ Nov 25 2021
🚨︎ report
Text Editor capable of extended ascii?

In addition to using Mystic's theme/prompt editor I would like to just edit prompts.dat so I can find/replace characters instead of editing each line manually.

Is there a text editor that will show characters above alt-126? They show up strange in Chrome's text app.

The big problem here is I'm using a Chromebook. I can't get the terminal to display extended ascii (so I can't use nano) because changing the terminal font seems impossible and I have no linux GUI like xfce/kde/etc. to use one of those editors.

Any advice would be appreciated.

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/fang-castro
πŸ“…︎ Jun 30 2021
🚨︎ report
How to get Extended ASCII Character support?

I'm on Manjaro right now. Many characters doesn't show up in my system. Instead I see some question boxes. I've tried to fix this installing tons of font package but that didn't work. Recently when I ran a C program to show the output of Extended ASCII Character it showed only question boxes.

Now what should I do to make it show those characters?

πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/fahimscirex
πŸ“…︎ Jan 22 2021
🚨︎ report
would someone give me a set of extended ascii loading bars?

at least 20 progress steps would be nice

πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/Ni7rogenPent0xide
πŸ“…︎ Apr 08 2021
🚨︎ report
Extended ASCII Table with NCurses?

I'm struggling on figuring out how to print out the full ASCII table (preferably more) with NCurses. I know it supports unicode, but I can't figure out exactly how to enable/support it.

Even now, I can't print most basic ASCII chars like ╬ and β–“ which make it pretty hard to keep a faithful Codepage 437/850 style.

πŸ‘︎ 8
πŸ’¬︎
πŸ‘€︎ u/FrenklanRusvelti
πŸ“…︎ Nov 13 2020
🚨︎ report
Windows CMD not displaying extended ASCII characters correctly.

I was watching this tutorial on how to make a game engine in a C++ console application because I thought it was neat, and I've ran into this problem that I've never had before. The video uses ASCII codes 176, 177, 178, and 219 to do shading. In the video, and for most people these seem to display flawlessly, but for me I get an invalid character box.

Here's the full source code at the point I got stuck.

#include <iostream>
#include <Windows.h>
#include <chrono>

int screenWidth = 120;
int screenHeight = 40;

float xPos = 8.0f;
float yPos = 8.0f;
float playerA = 0.0f;

int mapHeight = 16;
int mapWidth = 16;

float FOV = 3.14159 / 4;

float maxDepth = 16;

int main()
{
    wchar_t* screen = new wchar_t[screenWidth * screenHeight];
    HANDLE hconsole = CreateConsoleScreenBuffer(GENERIC_READ | GENERIC_WRITE, 0, NULL, CONSOLE_TEXTMODE_BUFFER, NULL);
    SetConsoleActiveScreenBuffer(hconsole);
    DWORD dwBytesWritten = 0;

    std::wstring map;

    map += L"################";
    map += L"#              #";
    map += L"#              #";
    map += L"#              #";
    map += L"#              #";
    map += L"#              #";
    map += L"#              #";
    map += L"#              #";
    map += L"#              #";
    map += L"#              #";
    map += L"#              #";
    map += L"#              #";
    map += L"#              #";
    map += L"#              #";
    map += L"#              #";
    map += L"################";

    auto tp1 = std::chrono::system_clock::now();
    auto tp2 = std::chrono::system_clock::now();

    while (true)
    {
        tp2 = std::chrono::system_clock::now();
        std::chrono::duration<float> elapsedTime = tp2 - tp1;
        tp1 = tp2;
        float elapsedTimeFull = elapsedTime.count();



        if (GetAsyncKeyState((unsigned short)'A') & 0x8000) playerA -= (0.1) * elapsedTimeFull;
        if (GetAsyncKeyState((unsigned short)'D') & 0x8000) playerA += (0.1) * elapsedTimeFull;



        for (int x = 0; x < screenWidth; x++)
        {
            float rayAngle = (playerA - FOV / 2.0f) + ((float)x / (float)screenWidth) * FOV;

            float distanc
... keep reading on reddit ➑

πŸ‘︎ 8
πŸ’¬︎
πŸ‘€︎ u/Jemhop
πŸ“…︎ Dec 13 2020
🚨︎ report
Do you use Extended ASCII when generating passwords?

Hi.

Or do ye just go with letters, numbers & regular ASCII special characters?

I know that some websites don't yet support Extended ASCII characters.

I made a poll here: https://www.strawpoll.me/20023825

Thanks.

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Royaourt
πŸ“…︎ May 12 2020
🚨︎ report
[GB] GMK ASCII Extended until December 16th
πŸ‘︎ 102
πŸ’¬︎
πŸ‘€︎ u/Oblotzky
πŸ“…︎ Dec 06 2019
🚨︎ report
Some extended-ascii characters like "Ú" and "¿" are unsupported?

Update: The MagicCards font in the vanilla installation indeed doesn't support these characters. Just use the new TrueType fonts instead which have the benefit of looking much sharper and being much better aligned.


(Couldn't find anything wrt this via search nor Google.)

This is my first time trying OpenMW (and Morrowind in 15+ years, for that matter), and some characters in the extended-ascii set like "Ú" and "¿" appear unsupported, showing up as "?" in-game. Other chars like ú, Ñ, é, etc. are supported.

Simplest way to repro this is to try using them in the choose-your-name dialog box at the start of the game. Note: "Ú" does print in the console, so this is prob just an issue with the in-game font.

I'm getting this from a fresh GOG install after moving the "Data Files/" from Windows onto macOS Catalina.


This is particularly an issue since I'm using a Spanish translation mod: http://www.clandlan.net/foros/topic/58471-ultimate-pack-traduccion-morrowind-espanol-v14309042011/ which of course uses those characters.

I thought the Better Dialogue Font mod might help somehow since it brings in an overwritten font file. It definitely does improve the game like it says, but the mentioned characters still show up as "?".

πŸ‘︎ 5
πŸ’¬︎
πŸ“…︎ Jun 25 2020
🚨︎ report
How useful is extended ASCII in passwords?

So I was taking a look and keepassdb and it seems to have password generation which includes extended ascii characters. I think most brute force methods don't even try to use ascii, so wouldn't this be a little bit extra security?

πŸ‘︎ 5
πŸ’¬︎
πŸ“…︎ May 27 2020
🚨︎ report
Extended ASCII Tileset Viewer

Hi all,

I wanted to share a web application I threw together over the past couple days. It allows you to preview and try out a bunch of different extended ascii tilesets, and download whichever ones you might want to use in your game. I pulled all of the tilesets from the dwarf fortress tilesets repository. In the future, I am planning on adding color schemes and different types of map generation so you can see what the tileset looks like in a dungeon setting or DF overworld type setting.

https://preview.redd.it/x7oiktv9v5q21.png?width=1385&format=png&auto=webp&s=baa49600c7b7b6e3daca6a533fab5733e7b7b16f

Link to the github repo: https://github.com/Larkenx/extended-ascii-previewer

Play with the app here: https://extended-ascii-viewer.herokuapp.com/ (probably doesn't work well on mobile)

πŸ‘︎ 66
πŸ’¬︎
πŸ‘€︎ u/Larkenx
πŸ“…︎ Apr 04 2019
🚨︎ report
Extended ASCII Characters in NotePad

I've tried numerous times to create the ASCII character 178 from the extended ASCII characters within notepad, including saving the file as UTF-8, UTF-16 LE in either case the character 178 from the extended ASCII characters is not created ?

πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/SonicSkunk
πŸ“…︎ Aug 04 2019
🚨︎ report
The dithered shades of grey that IBM Extended ASCII had on it's DOS PCs /r/90sComputers/comments/…
πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/SupremoZanne
πŸ“…︎ Mar 15 2020
🚨︎ report
Vim plugin for box drawing with extended ASCII?

Is there some vim plugin for drawing boxes / tables using box drawing characters, like:

β•β• β”œ β””

And so on?

πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/shmerl
πŸ“…︎ Jan 16 2019
🚨︎ report
[grep] TIL extended regular expressions in grep use the current collation (even when matching ascii)

So I ran into this (while grepping something less dumb):

$ echo abcxyz | grep -Eo '[a-z]+'
abcx
z

At first I was like, but then I

$ env | grep 'LANG='
LANG=lv_LV.UTF-8
$ echo abcxyz | grep -Eo '[a-z]+'
abcx
z
$ export LANG=en_US.UTF-8
$ echo abcxyz | grep -Eo '[a-z]+'
abcxyz
$ 

(and yeah, grep -E and egrep are the same thing)

Edit: the solution, of course, is to just use \w instead. Unless you want to not match underscore, because that matches underscore, but we all know that already, right? :)

πŸ‘︎ 50
πŸ’¬︎
πŸ‘€︎ u/virtulis
πŸ“…︎ Oct 14 2018
🚨︎ report
Keyboard with no physical numeric keypad and Windows10 On-Screen keyboard issue with ASCII Extended Characters

I can create any characters from the ASCII extended character using a keyboard with a phsyical numeric keyboard; but I can't if the keyboard does not have a physical numeric keyboard and I use Windows10 On-Screen keyboard. I have the On-screen keyboard with the option turn on numeric key pad. I hold ALT+ then hit 178 on the numeric keypad on the On-screen keyboard, rather then the ASCII extended character 178 being create, nothing is created ?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/SonicSkunk
πŸ“…︎ Aug 05 2019
🚨︎ report
Planqi MH Extended ASCII

ItemDisplay[hp1]: %RED%Β₯%WHITE%1

It displays the Β₯, but an A with hat always prefix it.

Anyone know a way around this?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/rainstorm07
πŸ“…︎ Mar 14 2020
🚨︎ report
How to use extended ascii in options?

Hello! I haven't played much with either Linux or Nethack in about 10 years. So I'm giving myself a project to get back into both! Eventually I'd like to set up my own Nethack server. But for now I'm just messing around on the Alt.org server and seeing what is possible these days.

Here's the thing that is currently stumping me. I'd like to change some of the dungeon symbols to use extended ascii. Specifically I would like to change the corridor (and lit corridor) symbol to use something like this: β–’. Trying to make it look more like I remember it from ye olde days.

Currently using DECgraphics. But I know this should be possible because the game IS already using the symbol I want for open doors. Basically, I want to be able to use the SYMBOLS option to use that symbol for corridors. But I can't figure out how to tell the game to do so in options. The various wikis and guides say that you can use hex or octal codes in the options file to specify symbols like this using '' as an escape character. But I can't figure out how to do it and/or I'm getting messed up graphics.

For example: SYMBOLS=S_corr:'\0177' produces weird glitchy graphics and ghost images when you walk in corridors.

Here's a graphic pointing out what I would like to use for corridors: https://i.imgur.com/7RsK7tf.png

Any tips would be helpful. Thanks!

πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/JoelNYC
πŸ“…︎ Feb 04 2019
🚨︎ report
Extended ASCII characters do not show in code ?

I'm unable to get the extended ASCII tables to be displayed within code ?

For example ALT+178 does not display the appropriate ASCII characters.

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/SonicSkunk
πŸ“…︎ Aug 03 2019
🚨︎ report
[C]Reading extended ascii characters from file

Hey everyone. Maybe you can help me with a simple question (I hope it is, it surely looks so...) I have.

 

I want to write a small code that registers how many times each character is written in a text file. To do this, IΒ΄ve got an array of length 256, with a component for every character in ascii code. I scan the file and add +1 to the component belonging to the character i just scanned. For example, if I scanned a text file with a single "A" written on it I would end up with an array full of zeroes except for a 1 in position number 65. What IΒ΄ve got so far works.

 

Now, this doesnΒ΄t work for extended ascii characters. Characters such as Γ±, Γ‘, Γ‘, Á etc. arenΒ΄t detected. IΒ΄ve written this >>scanf("%c",&character);

 

>>printf("%c = %d\n",character,character);

 

to see what happens. When I type these characters and I get numbers like -92 or -96.

 

I thought these "special" characters would be recognised just as the other ones (Γ± would be 164, Γ‘ 165...). What can I do to register them properly? Any feedback would be appreciated.

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/Ukos96
πŸ“…︎ Sep 04 2017
🚨︎ report
How is it that extended ASCII usernames are still allowed? I thought they patched that out.

Seeing usernames with all vertical pipe symbols, and doing direct message shows as | and lowercase i.

Wasn't OOTB supposed to get rid of shit like this?

πŸ‘︎ 18
πŸ’¬︎
πŸ‘€︎ u/DigitalBoy760
πŸ“…︎ Feb 09 2016
🚨︎ report
Extended ASCII and Keyboard.write

I'm getting a bit confused here. Serial.print - with some conversions previously applied - can actually print unicode characters encoded with utf-8; i tried but unfortunately it doesn't work the same way with the Keyboard.write. The official page states, in fact, that it can't even print ALL ascii characters... And that's ok, but when I try to print some basic characters like ':' or ';' , the code acts strangely. Here's a table with on the left the symbols I wanna print, and on the right what it comes out when I push the keyboard:

: -> Γ§

? -> _

' -> Γ 

; -> Γ²

! -> !

Γ© -> 3

The list goes on. I tried inserting the characters also as bytes, hex value, decimal value but nothing changes.

My bet is that there's something really stupid I'm missing.

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Minetryer1
πŸ“…︎ Sep 22 2017
🚨︎ report
converting extended ASCII (MSSQL)

I am having issue with trying to convert the following character 'β–„' to ascii. I expect select ASCII('β–„') to return 220. instead it returns 95. any ideas? thanks!

πŸ‘︎ 3
πŸ’¬︎
πŸ“…︎ Sep 30 2015
🚨︎ report
Somebody Make This: A Firefox plug-in that will set up the character encoding to match the old extended ASCII IBM code page 437.
πŸ‘︎ 11
πŸ’¬︎
πŸ‘€︎ u/ropers
πŸ“…︎ Jul 28 2010
🚨︎ report
How to display extended ascii characters in assembly language?

I would like to out put strings like this msg db 'hello'

for example but instead of the normal characters I would like to be able to use characters from the table here

http://www.asciitable.com/index/extend.gif

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/alxb577
πŸ“…︎ Mar 30 2015
🚨︎ report
Unsure about how to output more than one character from the extended ASCII character set. (C++)

I have this exercise question in my textbook that asks you to output characters from the extended ASCII character set.

This is what my brain produced (it isn't right).

I know that:

char corner = 201;

cout << corner << endl; // outputs β•”

How can I use this kind of idea... while not having to declare all the char values from 33 to 255?

Edit: Made some progress! But how do I display these characters in the 23x10 2D matrix the question wants?

Edit2: Did it with help!

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/kdmkdmkdm
πŸ“…︎ Apr 23 2012
🚨︎ report
charCodeAt() with extended ASCII?

Hokay... I'm trying to read a binary file in, and I do so like this:

var xhr = new XMLHttpRequest();
xhr.open("GET", filename, false);
xhr.overrideMimeType("application/x-binary;");
xhr.send();
var result = xhr.responseText;

This SEEMS to work.

As I step through this "result", things are fine and dandy until I hit a binary value that's greater than 127. It seems that charCodeAt() is always returning 65533 in these cases, which is of course, impossible.

I'm sure there's something I'll have to do to get Javascript to read binary as binary, but I can't seem to find anything online about it?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Javin007
πŸ“…︎ Nov 18 2016
🚨︎ report
Are Extended ASCII characters safe to use?

Id like to use "Right double angle quotes" #187 (&#187;)

Is this pretty safe to use on the web?

πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/Bandude
πŸ“…︎ Aug 13 2012
🚨︎ report
UTF-8, Extended ASCII, Character Set Encoding, Collisions iconoun.com/articles/coll…
πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/mosqua
πŸ“…︎ Sep 12 2014
🚨︎ report
What problem is rune representation of strings solving

I have started learning go and I can imagine beginners tripping up while using len function on Unicode strings or a traditional for loop with len for printing out characters.These are fairly straightforward in languages like python3 .I know this is not a great comparison but I hope you get my point.

python eg:

title = 'ζ—₯本θͺž'
print(len(title))
#prints 3

go eg:

runeΒ :=Β "ζ—₯本θͺž"
fmt.Println(len(rune)) //prints 9

I know how we can get the exact length using functions in utf8 package but I'm unable to find the advantages of the implementation, Is it to give more control for byte wise operations or conserving space as ASCII characters in the string use only a byte

πŸ‘︎ 23
πŸ’¬︎
πŸ‘€︎ u/swintaboi
πŸ“…︎ Nov 11 2021
🚨︎ report
Cell-mode: spreadsheet mode for Emacs

For a while I've been lurking on the development of cell-mode [1], an Emacs mode created by David O'Toole. The blurb says:

>Cell-mode is an object-oriented spreadsheet control for GNU Emacs. It provides a major mode for spreadsheet-based user interfaces; it can be further extended by defining application-specific Emacs Lisp minor modes which supply new cell and spreadsheet classes via Emacs’ included object system, EIEIO.

I decided to create this post because I am not sure how widely known this mode is, and I'd like to raise attention to it. Personally, I think it is an amazing idea - a magit or org-mode-like "killer app" for Emacs. It may sound like I'm exaggerating (and perhaps I am), but just off the top of my head I can think of a few really interesting use cases:

  • integrate it with org-mode as a table editor. You could edit the table in cell-mode and then see the ascii representation.
  • integrate it with modes such as SQL mode and the like, so that you could visualise the table output as a cell-mode spreadsheet.
  • as just a plain old spreadsheet. Most of my use cases for excel would probably go away with it plus Emacs lisp.
  • easy CSV (etc) editing.
  • derived modes (see mosaic [2] by the same author).

I'm sure many more use cases would quickly emerge by integrating it with other modes. If you use cell-mode or know of similar modes in this space do let me know on the comments.

Disclaimer: I have no affiliation with David O'Toole or cell-mode development, just a regular Emacs user.

https://preview.redd.it/sfq42fmt8j581.png?width=760&format=png&auto=webp&s=276ef95ea7ecccc910ebca23905ba1bfc9a178fc

[1] https://gitlab.com/dto/cell-mode

[2] https://gitlab.com/dto/mosaic-el

πŸ‘︎ 93
πŸ’¬︎
πŸ‘€︎ u/marco_craveiro
πŸ“…︎ Dec 14 2021
🚨︎ report
Blind Girl Here. Give Me Your Best Blind Jokes!

Do your worst!

πŸ‘︎ 5k
πŸ’¬︎
πŸ‘€︎ u/Leckzsluthor
πŸ“…︎ Jan 02 2022
🚨︎ report
Dropped my best ever dad joke & no one was around to hear it

For context I'm a Refuse Driver (Garbage man) & today I was on food waste. After I'd tipped I was checking the wagon for any defects when I spotted a lone pea balanced on the lifts.

I said "hey look, an escaPEA"

No one near me but it didn't half make me laugh for a good hour or so!

Edit: I can't believe how much this has blown up. Thank you everyone I've had a blast reading through the replies πŸ˜‚

πŸ‘︎ 19k
πŸ’¬︎
πŸ‘€︎ u/Vegetable-Acadia
πŸ“…︎ Jan 11 2022
🚨︎ report
Extended ASCII

Does anyone know how to type extended ascii characters on the XPS 15 9570?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/jezpakani
πŸ“…︎ Oct 03 2018
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.