How to use symbols of extended ASCII table in C?

It’s better to use unicode than extended ASCII, which is non-standard. A thread about printing unicode characters in C : printing-utf-8-strings-with-printf-wide-vs-multibyte-string-literals

But indeed you need to copy paste unicode characters..

A better way to start:

#include <stdio.h>

int main() {
    printf("\u2500\u2501\n");
}

Leave a Comment