07-28-2008, 02:25 PM
Good question. It is frequently that I receive e-mails with filenames using unicode characters with different code pages. These characters are not recognised as valid file name characters (actually they are displayed as boxes, or in a strange way, ex. "辛匝_ W_ doc"). I want to replace them using str.ReplaceInvalidFilenameCharacters. I know the unicode character codes in my language, I want to exclude others. Thanks.