Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
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 14-Nov-12 10:41am
Comments
Christian Graus at 14-Nov-12 16:51pm
   
This makes no sense. Post code.
Nelek at 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

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 6,656
1 Sergey Alexandrovich Kryukov 6,400
2 CPallini 5,240
3 George Jonsson 3,584
4 Gihan Liyanage 2,625


Advertise | Privacy | Mobile
Web03 | 2.8.140921.1 | Last Updated 14 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100