read locale as binary