Microsoft
 Search
Thursday, March 11, 2010 ..:: Community Forum ::.. Register  Login
 Community Forum Minimize
     
  .NET Development  MCTS 70-536 Study Group  UTF16 RFC + UTF8 Default Reading and Writing ...  

 UTF16 RFC + UTF8 Default Reading and Writing ... 
 
SueHell
20 posts
UTF16 RFC + UTF8 Default Reading and Writing ...
Posted: 19 May 09 6:56 PM (N/A)
 
This RFC explains the UTF16:

http://www.ietf.org/rfc/rfc2781.txt

Somewhere you will find that UTF16 format takes 1 or 2 16 Bits..
so in theory we can have 32bits but thats not the case..there are ranges that determines how to interpret the character.


Re: UTF8 being the Default enconding and NOT UTF16

Easy, create a streamreader and a streamwriter with only the file name as parameter and check the "Encoding" attribue.

you will see in both cases its UTF8 and not UTF16 as the book mentions.

Case closed...now can I get a refund.
phenry
65 posts
Re: UTF16 RFC + UTF8 Default Reading and Writing ...
Posted: 20 May 09 9:56 AM (Canada)
 
re refund
No, but you can get a pat on the back for a great job investigating?! DOH! HAHHA LOL


PS Thanks for the information and clarification!
 
   .NET Development  MCTS 70-536 Study Group  UTF16 RFC + UTF8 Default Reading and Writing ...
 
 
   

Search   

Copyright 2008 Ottawa .NET Community   Terms Of Use  Privacy Statement
Portal engine source code is copyright 2002-2010 by DotNetNuke. All Rights Reserved