d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Same Files Showing Different Hashes
Prev12
Add Reply New Topic New Poll
Member
Posts: 8,070
Joined: Sep 14 2014
Gold: 2,710.00
Sep 14 2016 05:11pm
Quote (Bankai @ Sep 14 2016 06:33pm)
life is pretty hard.


I got my race car. LIFE IS GOOD.
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Sep 14 2016 05:38pm
Quote (Wacko @ Sep 14 2016 01:22pm)
Same OS on both computers. both .JSON files.

Turns out they are off by 10 bytes. one if 214 bytes, one is 204. But exactly the same name and contents. Encoding issue?


Yes likely an encoding issue. Even though both files may be unicode there are characters and wide-characters which take up 1 byte and 2 bytes respectively. Why a site is serving you data with wide characters added to it when the data should be the same is not sure. If you view the files side by side in a hex editor (I prefer HxD) you will clearly see the 10 extra bytes.
Go Back To Computers & IT Topic List
Prev12
Add Reply New Topic New Poll