rework encoding fix
Version bump to 0.12.6