Multibyte strings
All f90VB functions will work correctly with multibyte characters, in spite of the library having limited support for this type. In f90VB, multibyte strings are stored as standard Fortran Strings. Because Multibyte strings can use more than one byte per character, and Fortran's intrinsic functions for character manipulation are not multibyte-aware, you may get unexpected results when using Fortran functions on multibyte characters. If your program is handling multibyte strings, you should use the subroutines provided in f90VB. Figure 1.4 shows an example of how a string with a mix of single-byte and multibyte characters is stored as a standard Fortran string. Calling Fortran intrinsic function len_trim() with the string shown in Figure 1.4 would return a value of 4, while the multibyte string only has three characters. f90VB function StrLenTrim would return the correct result.