Click here to Skip to main content
15,896,111 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
when I am trying to encode characters from the extended ascii chart it automatically puts it as 63 ('?'). do u know how to make it the char itself ?
thaks.
Posted
Comments
Christian Graus 14-Nov-12 16:51pm    
This makes no sense. Post code.
Nelek 14-Nov-12 17:17pm    
Please don't think we can read minds or do astral projections to see your monitor. If you need help, the least you could do is to explain your problem in such a way, that the users of CP can understand it. Otherwise, nobody will be able to help you.
what have you tried?[^]

1 solution

You should understand that .NET and modern versions of Windows (NT-based) support Unicode, not "Extended ASCII" or anything. ASCII is supported as a subset of Unicode, but not "Extended ASCII". Please see:
http://en.wikipedia.org/wiki/Unicode[^],
http://unicode.org/[^],
http://en.wikipedia.org/wiki/ASCII[^],
http://en.wikipedia.org/wiki/Extended_ASCII[^].

There was a lot of confusion, which is reflected in Unicode.org mail archive, but in the Unicode standard "Extended ASCII" is barely mentioned as a historical attempt to use 8 bits to represent some limited international support. This thing was never standardized.

Practically, you need to look at Unicode reference pages and find out how to encode your characters. But you can also use the "Character Map" application (CHARMAP.EXE) which is bundled with every version of Windows and find these character there. After all, you can simply type them.

If you still cannot figure out how to work with your characters, you should create a code sample which is good to reproduce just the problem and explain what are you trying to do and why.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900