Subject: UTF-8 encoding for NAI (RFC 4282bis)

From: Bernard Aboba <[email-masked]>
Date: Mon, 29 Sep 2008 09:45:23 -0700

I've gotten some additional test data on the behavior of Windows EAP supplicants with respect to NAI internationalization. 
If the Windows version is XP-SP2 or below the NAI is sent in ANSI.  This is what Stefan was observing. 

If the Windows version is XP-SP3 or Vista SP1, the NAI is encoded in UTF-8 for the WLAN EAP supplicant, but remains ANSI for the PPP EAP supplicant (includes dialup as well as VPN (PPTP/L2TP/SSTP)).  This is because the WLAN EAP supplicant is a newer code base (EAPHOST), and the PPP EAP supplicant utilizes an older code base (Windows 2000 EAP supplicant). 
Going forward, the NAI will be sent in UTF-8 for all EAP supplicants, since all supplicants will be based on EAPHOST.