When to use Unicode
You can simplify your application that supports multiple languages by writing a Unicode application and by taking advantage of the IBM® Storage Protect Unicode interface.
Use the IBM Storage Protect Unicode interface if any of the following conditions are true:
- If your application is already compiled for Unicode and it was converting to a multibyte character set (mbcs) before calling the IBM Storage Protect API.
- If you are writing a new application and want to enable your application to support Unicode.
- If your application uses a string passed to it from an operating system or other application that uses Unicode.
If you do not need Unicode, it is not necessary to compile your application again.
The API continues to support the dsm interface. The API SDK contains callmtu1.c and callmtu2.c sample programs that demonstrate how to use the Unicode API. Use makemtu to compile these programs.