![]() |
| | #1 |
| Registered User Join Date: Nov 2005
Posts: 20
| Extended character ASCII in LINUX/WINDOWS I am writting C program under LINUX and I would like to know how to get extended character (beyond ASCII #127). I want to draw frame arround box but extended character are different between OS. For example these usefull character in windows UTF8 does not exist for linux: ASCII dec - ASCII hex - char 179 0xB3 │ 196 0xC4 ─ 218 0xDA ┌ 192 0xC0 └ 191 0xBF ┐ 217 0xD9 ┘ etc... Also, I write the code under Windows then when viewing it under Linux all special character to print with printf() changed and become unreadable. Thank you |
| intmail is offline | |
| | #2 | |
| Registered User Join Date: Feb 2005
Posts: 416
| change your linux default charset to unicode, which is utf-8 you are currently running iso8859-1 [ ascii ]
__________________ Quote:
| |
| Jaqui is offline | |
| | #3 |
| Just kidding.... Join Date: Jun 2003
Posts: 223
| Hi If you wanto to draw windows on screen use ncurses. "man ncurses" will give you enough information, i think! See the image below, if this is what you really want! http://www4.gantep.edu.tr/~fni18444/p1.png |
| fnoyan is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Character to Ascii | tdep | C Programming | 6 | 07-10-2006 03:07 PM |
| syntax error when defining vectors | starkhorn | C++ Programming | 5 | 09-22-2004 12:46 PM |
| Character handling help | vandalay | C Programming | 18 | 03-29-2004 05:32 PM |
| fgetc() and TABS, Extended ASCII | eddiemjm | C Programming | 2 | 03-22-2004 05:31 PM |
| How do I take an ascii character and print out the hex equivalent? | Big Indian | C Programming | 1 | 07-31-2002 10:49 AM |