Questions tagged [extended-ascii]

A catch-all term for character encodings that are supersets of ASCII. Please consider a more specific tag, such as 'unicode', 'utf-8', or 'iso-8859-1'.

206 questions
23
votes
4 answers

How can I convert extended ascii to a System.String?

For example: "½" or ASCII DEC 189. When I read the bytes from a text file the byte[] contains the valid value, in this case 189. Converting to Unicode results in the Unicode replacement character 65533.…
rtremaine
  • 354
  • 1
  • 3
  • 10
16
votes
4 answers

How to print the extended ASCII code in java from integer value

public static void main(String[] args) { int i=153; int j=63; System.out.println((char)i); System.out.println((char)j); } OUTPUT:- ? ? I have some ideas why is this strange output.. But can anyone give me some idea so that i can print the…
Swayambhu
  • 458
  • 2
  • 8
  • 19
13
votes
1 answer

How to use symbols of extended ASCII table in C?

I've been tried to print Extended ASCII characters: http://www.theasciicode.com.ar/ But all those symbols were printed as question-character on the white background ?. I use the following cycle to print that symbols: for (i = 0; i <= 30; i++) …
yulian
  • 1,601
  • 3
  • 21
  • 49
12
votes
1 answer

Why are '[' and ']' ascii codes not following each other?

Does anyone know why the design decision of having '[' and ']' or '{' and '}' ASCII key codes being two apart instead of one digit was made? OCD triggered.
Rami Awar
  • 663
  • 7
  • 28
9
votes
4 answers

Extended Ascii in Linux

How would I print these characters in Linux? │ (ascii 179) ├ (ascii 195) └ (ascii 192) ─ (ascii 196) I cannot find any octal values that would work with echo -e "\0xxx", any ideas?
Benjamin
  • 2,718
  • 5
  • 21
  • 20
8
votes
4 answers

Display Extended-ASCII character in Ruby

How can I print an Extended-ASCII character to the console. For instance if I use the following puts 57.chr It will print "9" to the console. If I were to use puts 219.chr It will only display a "?". It does this for all of the Extended-ASCII…
Michael
  • 185
  • 1
  • 10
8
votes
8 answers

What's the proper technical term for "high ascii" characters?

What is the technically correct way of referring to "high ascii" or "extended ascii" characters? I don't just mean the range of 128-255, but any character beyond the 0-127 scope. Often they're called diacritics, accented letters, sometimes casually…
7
votes
6 answers

How can I find extended ASCII characters in a file using Perl?

How can I find extended ASCII characters in a file using Perl? Can anyone get the script? .....thanks in advance.....
User1611
  • 1,081
  • 4
  • 18
  • 27
7
votes
1 answer

Can I use iconv to convert multi-byte smart quotes to extended ASCII smart quotes?

I have some UTF-8 content that includes multi-byte smart quote characters. I've found that this code will easily convert those characters to ASCII straight quotes (ASCII code 34): $content = iconv("UTF-8", "ASCII//TRANSLIT", $content); OR $content…
arlomedia
  • 8,534
  • 5
  • 60
  • 108
7
votes
5 answers

How can I display Extended ASCII Codes characters in Perl?

How to display 192 character symbol ( └ ) in perl ?
Tree
  • 9,532
  • 24
  • 64
  • 83
7
votes
2 answers

Matching extended ASCII characters in .NET Regex

I'm writing a .NET regular expression that needs to match all ASCII and extended ASCII characters except for control characters. To do this, I consulted the ASCII table and it seems that all these characters have an ASCII encoding of x20 to xFF. So…
user3572645
  • 73
  • 1
  • 4
7
votes
5 answers

How to print non-ASCII characters in Python

I have a problem when I'm printing (or writing to a file) the non-ASCII characters in Python. I've resolved it by overriding the str method in my own objects, and making "x.encode('utf-8')" inside it, where x is a property inside the object. But, if…
Roman
6
votes
5 answers

How to draw a rectangle in console application?

I need to draw a rectangle, with a number inside, in a C# console app and using extended ASCII. How do I go about it? This is for a demo.
user712923
  • 1,515
  • 2
  • 16
  • 19
6
votes
2 answers

Console.Write() - display extended ascii chars?

I am able to correctly display the standard ASCII symbols (up to 127) like "heart", "note" you know what I mean. I would like to also display ones that I can use for drawing walls (like U0205) but it does not work..well, it works but it looks like…
Loj
  • 1,159
  • 3
  • 14
  • 23
6
votes
1 answer

Difficulties inherent in ASCII and Extended ASCII, and Unicode Compatibility?

What are the difficulties inherent in ASCII and Extended ASCII and how these difficulties are overcome by Unicode? Can some one explain me the unicode compatibility? And what does the terms associated with Unicode like Planes, Basic Multilingual…
Vibhakar SInha
  • 299
  • 1
  • 5
  • 12
1
2 3
13 14