A list of puns related to "Extended Ascii"
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!
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.
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?
at least 20 progress steps would be nice
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.
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 β‘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.
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 "?".
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?
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)
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 ?
Is there some vim plugin for drawing boxes / tables using box drawing characters, like:
ββ β β
And so on?
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? :)
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 ?
ItemDisplay[hp1]: %RED%Β₯%WHITE%1
It displays the Β₯, but an A with hat always prefix it.
Anyone know a way around this?
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!
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.
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.
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?
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.
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!
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
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!
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?
Id like to use "Right double angle quotes" #187 (»)
Is this pretty safe to use on the web?
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
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:
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
Do your worst!
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 π
Does anyone know how to type extended ascii characters on the XPS 15 9570?
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.