Intel® Fortran Compiler 17.0 Developer Guide and Reference
NLS Function: Returns the longest possible multibyte character length, in bytes, for the current codepage.
USE IFNLS
result = MBCurMax( )
The result type is INTEGER(4). The result is the longest possible multibyte character, in bytes, for the current codepage.
The MBLenMax parameter, defined in the module IFNLS.F90, is the longest length, in bytes, of any character in any codepage installed on the system.