help with mime

hey,
i need some help with mime and hebrew.
i have a script sending a multipart mime . the problem is that the subject is recived in jibrish. i need to know how to explictly define charset for the subject.
i would appericiate any help,

thanx in advance,

rafi