return correct length of LangID string to host