Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
Deepak Lal wrote: i should get 3 junk characters,but now im getting as below
The value of k 65279 (what is this referring to)
The value of k 49 which is correct for charValue(1)
The value of k 48 which is correct for charValue(0)
I don't know why you think you should get three "junk" characters. It's pretty obvious from what you posted there that the reader has made the BOM into a single character, so your first three characters consist of the BOM and the two characters which follow it. You're making this simple thing far too complicated, I think.