Hi youli,
I am assuming that "FehleraufschaltungLib" is a MDL file as SLX files do not warn because they can store characters from any encoding.
If you open a MDL file created in a release prior to R2021b in a MATLAB session that uses different encoding, you receive a warning. For example, suppose you create a MDL file in a MATLAB session configured for Shift_JIS and open it in a session configured for windows-1252. The warning message displays the encoding of the current session and the encoding used to create the model.
Starting in R2021b, MDL files can store characters from any encoding. To open a MDL file created in a release prior to R2021b in a MATLAB session that uses different encoding, in the environment with the encoding that the MDL file is configured for, resave the file in the R2021b release or later, or resave the MDL file as an SLX file.
For more details, follow the below documentation.