Characters of simplylaced nonconnected groups versus characters of nonsimplylaced connected groups