I will have a look in 2-3 days. As Rynbef said it's encoder issue.
You can try change in Notepad++ (Encoding, Language) try it many many ways maybe you will find a workaround.
if(countitem(.C_PetEggs[.@j]) > 0){
if(.@ctr == 10)
end;
delitem .C_PetEggs[.@j], 1;
.@ctr++;
}else end;
Store .@j index and delete it later because you need 10x amount.
Also nowaday rAthena already did the work for you.
No need my tutorial just use latest rAthena git. It's had Guild Emblem system embeded on it. (Make sure you changed IP on luafile)
\rathena\src\map\status.cpp (Line 1583)
Not sure comment this line will work like you want or not.
Try it if it ruin the game please wait for answer from other people.