how to encode filenames with umlauts, etc

L

leo

hi there

i wrote a macro to extract all my contacts to vcards. for writing the files
i use:

sName = path & Item.FileAs & ".vcf"
Item.SaveAs sName, olVCard

this filename now can vontain umlaute, etc, whhich c;llash with some
filessytems, etc.

how can i avoid that? can encode the FileAs property somehow?

thanks a lot, leo
 
Top