473,416 Members | 1,548 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

ASCII Character code for the 6th power

Hi,

I know what the ASCII Character Codes are for the 2nd and 3rd powers in
VB.NET but I can't find the 6th power anywhere - does anyone know what
it might be or if it even exists?

Joy

Jun 9 '06 #1
9 8241
The ASCII character set doesn't contain any characters for 2nd and 3rd
powers. What character set are you using?

If you mean ANSI, it has no character for the 6th power.

si***********@yahoo.com wrote:
Hi,

I know what the ASCII Character Codes are for the 2nd and 3rd powers in
VB.NET but I can't find the 6th power anywhere - does anyone know what
it might be or if it even exists?

Joy

Jun 9 '06 #2

Chr(179) is the 3rd power and Chr(178) is the 2nd power

Göran Andersson wrote:
The ASCII character set doesn't contain any characters for 2nd and 3rd
powers. What character set are you using?

If you mean ANSI, it has no character for the 6th power.

si***********@yahoo.com wrote:
Hi,

I know what the ASCII Character Codes are for the 2nd and 3rd powers in
VB.NET but I can't find the 6th power anywhere - does anyone know what
it might be or if it even exists?

Joy


Jun 9 '06 #3
here is a webpage with the ASCII Character Codes - the 2nd and 3rd
powers are in there

http://yorktown.cbe.wwu.edu/sandvig/...SCIICodes.aspx

si***********@yahoo.com wrote:
Chr(179) is the 3rd power and Chr(178) is the 2nd power

Göran Andersson wrote:
The ASCII character set doesn't contain any characters for 2nd and 3rd
powers. What character set are you using?

If you mean ANSI, it has no character for the 6th power.

si***********@yahoo.com wrote:
Hi,

I know what the ASCII Character Codes are for the 2nd and 3rd powers in
VB.NET but I can't find the 6th power anywhere - does anyone know what
it might be or if it even exists?

Joy


Jun 9 '06 #4
<si***********@yahoo.com> schrieb:
here is a webpage with the ASCII Character Codes - the 2nd and 3rd
powers are in there

http://yorktown.cbe.wwu.edu/sandvig/...SCIICodes.aspx


Well, that's not ASCII. As ASCII is a 7-bit encoding it only contains
character codes up to 127.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jun 9 '06 #5

<si***********@yahoo.com> wrote in message
news:11*********************@y43g2000cwc.googlegro ups.com...
here is a webpage with the ASCII Character Codes - the 2nd and 3rd
powers are in there

http://yorktown.cbe.wwu.edu/sandvig/...SCIICodes.aspx
That's not ASCII. ASCII is a 7-bit character set, and has only 128 members.
There is a unicode character for superscript 6.

http://www.unicode.org/charts/PDF/U2070.pdf

David

Jun 9 '06 #6
Joy,

Many cultures have their own code tables for what sometimes is called
Extended ASCII and for Windows code pages.

There are less tables for Windows just because it is using more bits.
Cultures with languages based on Western Europe ones use almost forever
1252.

Have a look at these pages for that.

Try in general to avoid code pages who are based the extended ASCII code. By
instance in my country people are mixed up using 850 and 437 without that
they know that. You understand that with that you are already soon in
trouble.

General
http://www.microsoft.com/globaldev/r...ce/cphome.mspx

OS systems
http://www.microsoft.com/globaldev/r...ocversion.mspx

I hope this helps a little bit?

Cor
<si***********@yahoo.com> schreef in bericht
news:11*********************@y43g2000cwc.googlegro ups.com...
Hi,

I know what the ASCII Character Codes are for the 2nd and 3rd powers in
VB.NET but I can't find the 6th power anywhere - does anyone know what
it might be or if it even exists?

Joy

Jun 10 '06 #7
That is not the ASCII character set. As has already been pointed out,
ASCII is a 7 bit character set that contains characters with character
codes from 0 to 127.

There is an 8 bit extended ASCII character set that is used by DOS, but
that's not it either.

As stated in the title, it's the ISO 8859-1 character set, e.g. Latin-1.
The professor is a bit confused. ASCII character codes are only used
when you are using an ASCII character set. It's interresting to see that
the character set shown is lacking the space character, though...

There is no character for the 6th power in the Latin-1 character set.
si***********@yahoo.com wrote:
here is a webpage with the ASCII Character Codes - the 2nd and 3rd
powers are in there

http://yorktown.cbe.wwu.edu/sandvig/...SCIICodes.aspx

si***********@yahoo.com wrote:
Chr(179) is the 3rd power and Chr(178) is the 2nd power

Göran Andersson wrote:
The ASCII character set doesn't contain any characters for 2nd and 3rd
powers. What character set are you using?

If you mean ANSI, it has no character for the 6th power.

si***********@yahoo.com wrote:
Hi,

I know what the ASCII Character Codes are for the 2nd and 3rd powers in
VB.NET but I can't find the 6th power anywhere - does anyone know what
it might be or if it even exists?

Joy

Jun 10 '06 #8
These are font characters, not ASCII (which is plain text). What font
charcter is mapped to a specific value, depends on the font designer.

Dick

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.
Jun 10 '06 #9
"si***********@yahoo.com" <si***********@yahoo.com> wrote in
news:11*********************@y43g2000cwc.googlegro ups.com:
Hi,

I know what the ASCII Character Codes are for the 2nd and 3rd powers in
VB.NET but I can't find the 6th power anywhere - does anyone know what
it might be or if it even exists?

Joy


So it's not ascii lol.

Dim l As New Label
l.Text = "Unicode char Superscript six: " & ChrW(&H2076)
l.Font = New Font("Arial Unicode MS", 10.0F)
l.AutoSize = True
Me.Controls.Add(l)
I found the &H2076 code for the 6 on
http://www.unicode.org/charts/PDF/U2070.pdf
though you can try in word: insert->character and scroll through the pages
of chars until you get the one you want.
ChrW will return the unicode char. You chould also do:
Convert.ToChar(&H2076S)
The default font used on the label control doesn't have the superscript 6,
It displayed a small square instead. So I used a unicode font...
Jun 11 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Daniel | last post by:
Hi, is there a way to check if a letter entered is an uppercase ASCII character? Thanks Daniel
19
by: Ian | last post by:
I'm using the following meta tag with my documents: <meta http-equiv="Content-Type" content= "text/html; charset=us-ascii" /> and yet using character entities like &rsquo; and &mdash; It...
37
by: chandy | last post by:
Hi, I have an Html document that declares that it uses the utf-8 character set. As this document is editable via a web interface I need to make sure than high-ascii characters that may be...
5
by: b.stewart | last post by:
I have only been using C++ for a few afternoons and i still get confused at nearly every line i type so maybe someone here can help me. Im trying to write a small program that can change a...
11
by: Kai Bohli | last post by:
Hi all ! I need to translate a string to Ascii and return a string again. The code below dosen't work for Ascii (Superset) codes above 127. Any help are greatly appreciated. protected...
3
by: JSM | last post by:
Hi, I am just trying to port an existing simple encryption routine to C#. this routine simply adds/substracts 10 ascii characters to each character in a text file (except quotes). The routine...
68
by: vim | last post by:
hello everybody Plz tell the differance between binary file and ascii file............... Thanks in advance vim
399
by: =?UTF-8?B?Ik1hcnRpbiB2LiBMw7Z3aXMi?= | last post by:
PEP 1 specifies that PEP authors need to collect feedback from the community. As the author of PEP 3131, I'd like to encourage comments to the PEP included below, either here (comp.lang.python), or...
9
by: =?Utf-8?B?RGFu?= | last post by:
I have the following code section that I thought would strip out all the non-ascii characters from a string after decoding it. Unfortunately the non-ascii characters are still in the string....
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.