Something that I will never understand

03/16/2013 17:43 A new hope#1
I noticed something weird a few days ago, lol.

Step 1: extract refpackageitem.txt from an official server's Media.pk2
Step 2: copy the contents of your _RefPackageItem table to the .txt file that you have just extracted and save it.
Step 3: now make a new txt file and paste the contents of your _RefPackageItem table.
Step 4: compare the file sizes. The first file's size is twice as big as the second file's.

Can someone explain this? lol

Here's a pic:
[Only registered and activated users can see links. Click Here To Register...]
03/16/2013 17:49 Veteran1337#2
Can you upload both .txt files?
03/16/2013 17:54 A new hope#3
I attached a .rar to this post, which contains two refpackageitem files, one of them is 330kb, other one is 659 kb and they contain exactly the same thing, copied from 110 cap BR DB.
03/16/2013 18:05 elfuria#4
Maybe notepad just sucks?
03/16/2013 18:07 A new hope#5
Quote:
Originally Posted by elfuria View Post
Maybe notepad just sucks?
The result is the same if you edit it with Notepad and Notepad ++.
03/16/2013 18:09 鳳凰城#6
Because of the ' tab ' between words.
For example: 1xtab 2xtab 3xtab 4xtab 5xtab
Edit: Noticed that this forum version doesnt show the tab , test it by press [Only registered and activated users can see links. Click Here To Register...]
Dunno if you'll get what I mean or not , but , SQL customize any text into tables / rows with these tabs . So , if you'll take a look on the bigger size and , recopied it again then moved into text as you've done there.. size won't be changed because its already contains same customized tabs by sql.
03/16/2013 18:10 elfuria#7
Then its probably missing lines
03/16/2013 18:11 A new hope#8
Quote:
Originally Posted by elfuria View Post
Then its probably missing lines
Both files have exactly the same stuff, download the attachment and check it ;p

Quote:
Originally Posted by Phoenix 1337 View Post
Because of the ' tab ' between words.
For example: 1xtab 2xtab 3xtab 4xtab 5xtab
Edit: Noticed that this forum version doesnt show the tab , test it by press [Only registered and activated users can see links. Click Here To Register...]
Dunno if you'll get what I mean or not , but , SQL customize any text into tables / rows with these tabs . So , if you'll take a look on the bigger size and , recopied it again then moved into text as you've done there.. size won't be changed because its already contains same customized tabs by sql.
But... both files have the content that I copied from the database. And I edited both with Notepad++
03/16/2013 18:18 zeteris#9
_new is saved in ANSI thats why it's twice as smaller as the other.
03/16/2013 18:19 A new hope#10
Quote:
Originally Posted by zeteris View Post
_official is saved in unicode thats why it's twice as big as the other.
Oh.. mystery solved.
03/16/2013 18:22 zeteris#11
Oh, it's saved in UCS-2 Little Endian. But the idea is same.
03/16/2013 19:21 PortalDark#12
#closed by request