gitattributes is needed
OKAY. EUC IS FINALLY FIXED FOR REAL AUGH

It turns out git was corrupting the EUC file every time I fixed it. No
wonder I've been going insane X.X

I fixed that. It shouldn't happen again.