Click here to Skip to main content
15,914,350 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionWhat is a hashtable ? Pin
Andres Coder18-Apr-04 3:20
Andres Coder18-Apr-04 3:20 
AnswerRe: What is a hashtable ? Pin
Mike Ellison18-Apr-04 19:27
Mike Ellison18-Apr-04 19:27 
Question.net security tools? Pin
pelos18-Apr-04 2:03
pelos18-Apr-04 2:03 
AnswerRe: .net security tools? Pin
partyganger18-Apr-04 4:40
partyganger18-Apr-04 4:40 
QuestionHow to new a PictureBox...?? Pin
17-Apr-04 22:48
suss17-Apr-04 22:48 
AnswerRe: How to new a PictureBox...?? Pin
Peter Reiter17-Apr-04 22:53
Peter Reiter17-Apr-04 22:53 
GeneralRe: How to new a PictureBox...?? Pin
Fade (Amit BS)18-Apr-04 2:21
Fade (Amit BS)18-Apr-04 2:21 
GeneralVisual Studio. Net Help Please !!! Pin
mattymc17-Apr-04 17:32
mattymc17-Apr-04 17:32 
GeneralRe: Visual Studio. Net Help Please !!! Pin
Fade (Amit BS)18-Apr-04 3:31
Fade (Amit BS)18-Apr-04 3:31 
Question.Net Version Problem..???? Pin
Renjith Ramachandran17-Apr-04 9:05
Renjith Ramachandran17-Apr-04 9:05 
AnswerRe: .Net Version Problem..???? Pin
Sarvesvara (BVKS) Dasa17-Apr-04 18:08
Sarvesvara (BVKS) Dasa17-Apr-04 18:08 
GeneralHANDLE in .net Pin
Paolo Ponzano17-Apr-04 1:49
Paolo Ponzano17-Apr-04 1:49 
GeneralRe: HANDLE in .net Pin
Mike Dimmick18-Apr-04 2:13
Mike Dimmick18-Apr-04 2:13 
GeneralChecking for Installed Component Pin
swcrissman16-Apr-04 11:13
swcrissman16-Apr-04 11:13 
GeneralDynamicly creating excel file and sending to client Pin
c++guy16-Apr-04 10:51
c++guy16-Apr-04 10:51 
GeneralRe: Dynamicly creating excel file and sending to client Pin
Steven Campbell16-Apr-04 14:57
Steven Campbell16-Apr-04 14:57 
QuestionIs it possible? Pin
MDem16-Apr-04 8:36
MDem16-Apr-04 8:36 
AnswerRe: Is it possible? Pin
Charlie Williams16-Apr-04 10:54
Charlie Williams16-Apr-04 10:54 
AnswerRe: Is it possible? Pin
Renjith Ramachandran17-Apr-04 16:30
Renjith Ramachandran17-Apr-04 16:30 
GeneralServer GC vs. Workstation GC Pin
jqd200115-Apr-04 9:08
jqd200115-Apr-04 9:08 
GeneralRe: Server GC vs. Workstation GC Pin
Mike Dimmick15-Apr-04 9:24
Mike Dimmick15-Apr-04 9:24 
GeneralRe: Server GC vs. Workstation GC Pin
jqd200115-Apr-04 9:55
jqd200115-Apr-04 9:55 
GeneralSending a custom message to .NET Pin
MarkSPA15-Apr-04 7:41
MarkSPA15-Apr-04 7:41 
Generalsetup project Pin
Dpriya15-Apr-04 3:01
Dpriya15-Apr-04 3:01 
Generalconvert unicode to ascii Pin
eranas14-Apr-04 6:58
eranas14-Apr-04 6:58 
Hi,
when i do this:

string unicodeString = "This string contains the unicode character";

// Create two different encodings.
Encoding ascii = Encoding.ASCII;
Encoding unicode = Encoding.Unicode;

// Convert the string into a byte[].
byte[] unicodeBytes = unicode.GetBytes(unicodeString);

// Perform the conversion from one encoding to the other.
byte[] asciiBytes = Encoding.Convert(unicode, ascii, unicodeBytes);

and I try to convert a Hebrew string to ascii I got in the asciiBytes
the number 69 (equals to '?')
but in english it's work just fine.
What is the problem?

Thank you in advanced,
Eran.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.