Reading vfscanf.c, _IO_vfwscanf looks for an 'I' conversion flag and looks for locale-dependent digits only if it is present. The manual makes no mention of this flag, implying by extension from other input functions that the locale lookup always happens.