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

.NET (Core and Framework)

 
GeneralRe: IL Optimization Pin
leppie13-Jun-03 11:08
leppie13-Jun-03 11:08 
GeneralRe: IL Optimization Pin
Daniel Turini13-Jun-03 11:32
Daniel Turini13-Jun-03 11:32 
GeneralRe: IL Optimization Pin
leppie13-Jun-03 12:04
leppie13-Jun-03 12:04 
GeneralIIS Permissions and .NET Framework Pin
Roger Wright13-Jun-03 8:47
professionalRoger Wright13-Jun-03 8:47 
Generalscrolling without a scrollbar Pin
mindfuck13-Jun-03 4:26
mindfuck13-Jun-03 4:26 
GeneralSystem.Windows.Forms.Panel AutoScroll Pin
Anonymous11-Jun-03 12:50
Anonymous11-Jun-03 12:50 
GeneralQuestion about UTF8 Encoding Pin
NorthWoodsman10-Jun-03 17:06
NorthWoodsman10-Jun-03 17:06 
GeneralRe: Question about UTF8 Encoding Pin
Laimis13-Jun-03 5:19
Laimis13-Jun-03 5:19 
Use Encoding class in System.Text namespace.

Basically to convert, you first set up encoding. Let's say you have a simple string that you named simpleS. Here is the code that would convert:

Encoding ascii = Encoding.ASCII;
Encoding utf8 = Encoding.UTF8;

byte[] simpleBytes = ascii.GetBytes(simpleS);
byte[] newbytes = Encoding.Encode(ascii, utf8, simpleBytes);

that's it. Key here is static Encode method provided by Encoding class. Once you have the new byte array, you can convert it to char array of utf8 encoded chars.

I hope this is of some help. MSDN documentation also has a very similar example and more stuff on this encoding. I know I used it for the project I worked some time ago.

QuestionIs that a way to let your 1.1 application freely running on all kinds of framework? Pin
fftongzhi10-Jun-03 16:54
fftongzhi10-Jun-03 16:54 
AnswerRe: Is that a way to let your 1.1 application freely running on all kinds of framework? Pin
Shaun Wilde10-Jun-03 21:03
Shaun Wilde10-Jun-03 21:03 
General.NET based portals Pin
Shaun Wilde10-Jun-03 3:41
Shaun Wilde10-Jun-03 3:41 
QuestionHow To: Report on inter-class dependancies?? Pin
jboy9-Jun-03 15:40
jboy9-Jun-03 15:40 
QuestionBitmapeditor? Pin
Stan Shannon9-Jun-03 2:45
Stan Shannon9-Jun-03 2:45 
GeneralMust be simple question for .NET interop gurus here... Pin
igor19608-Jun-03 20:01
igor19608-Jun-03 20:01 
GeneralRe: Must be simple question for .NET interop gurus here... Pin
Shaun Wilde10-Jun-03 3:36
Shaun Wilde10-Jun-03 3:36 
GeneralRe: Must be simple question for .NET interop gurus here... Pin
igor196010-Jun-03 17:01
igor196010-Jun-03 17:01 
GeneralRe: Must be simple question for .NET interop gurus here... Pin
Shaun Wilde10-Jun-03 20:59
Shaun Wilde10-Jun-03 20:59 
GeneralRe: Must be simple question for .NET interop gurus here... Pin
igor196011-Jun-03 4:59
igor196011-Jun-03 4:59 
GeneralRe: Must be simple question for .NET interop gurus here... Pin
Anonymous11-Jun-03 5:13
Anonymous11-Jun-03 5:13 
GeneralRe: Must be simple question for .NET interop gurus here... Pin
igor196011-Jun-03 6:39
igor196011-Jun-03 6:39 
GeneralRe: Must be simple question for .NET interop gurus here... Pin
Shaun Wilde11-Jun-03 8:56
Shaun Wilde11-Jun-03 8:56 
GeneralRe: Must be simple question for .NET interop gurus here... Pin
Anonymous10118-Jun-03 7:06
Anonymous10118-Jun-03 7:06 
GeneralRe: Must be simple question for .NET interop gurus here... Pin
igor196018-Jun-03 8:51
igor196018-Jun-03 8:51 
GeneralRe: Must be simple question for .NET interop gurus here... Pin
Anonymous10118-Jun-03 16:58
Anonymous10118-Jun-03 16:58 
GeneralRe: Must be simple question for .NET interop gurus here... Pin
igor196018-Jun-03 19:19
igor196018-Jun-03 19:19 

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.