encoding change for init.el, added xhp mode, changed java setup for hive