Ministries are told to avoid certain software for generating Japanese characters when making confidential documents, because the service is linked to cloud servers overseas.