Sunday, November 9, 2008

Chapter 3, Lesson 2

Quite the breather after the Regular Expression this lesson was, Encoding and DEcoding text.
Although the Framework does this for you, so in practice you'll rarely come in contact with this, it's good to knowthe basics about encoding standards.

In .NET, the default enconding type is UTF-16, but you can force your apps to read/write in other types like UTF7, UTF8, UTF32,even old ASCII or ANSI/ISO types.

According to the book, notepad is not able to read UTF-7 or UTF-32 encoded file, but my Vista machine had no problemreading UTF-7 encoded files. Upgrade since XP maybe ?

Anyway, this was an easy, but very interresting lesson. On a more personal note, I tackled this lesson while travellingfrom Diest to Aalst (where my girlfriend lives) ;-)
See ya

No comments: