Pack and Go does not working through API

Hi all

     Pack and Go does not working through API when i am doing Pack and Go of the special character named file? Anybody can u help me for this issue.

SolidworksApi macros