Thursday, April 25, 2024
Homepage · c
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 2357  / 3 Years ago, mon, may 24, 2021, 9:56:44

This char is 254 in ASCII Extended Table, and 25A0 in Unicode. If I run putchar(254) the terminal does not recognize the char, as I think it utilizes not extended ASCII.


More From » c

 Answers
5

printf("■
");
works for me - putchar('■'); gives me a warning about multi-character character constants. putchar(254); gives me a 'þ' character.
Also, make sure the terminal emulator you are using supports unicode.


[#502] Wednesday, May 26, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oraoming

Total Points: 354
Total Questions: 105
Total Answers: 124

Location: Iraq
Member since Sat, Apr 3, 2021
3 Years ago
oraoming questions
Fri, Aug 20, 21, 10:08, 3 Years ago
Mon, Dec 12, 22, 23:21, 1 Year ago
Mon, Sep 12, 22, 11:38, 2 Years ago
Mon, May 30, 22, 01:38, 2 Years ago
;