
Converting Strings From One Character Set To Another
The following function is an efficient way of converting strings from one character set to another. Using an array of 256 characters as a conversion table, the attached function replaces any invalid file name characters in lpszString with an underscore character. Of course, the conversion table can be modified to