thx for Reply , but I need some basic knowledge . how to encoding ? which algorithm use for that . bz my data has some special char , i have not confidence this function got proper result. i want to make my own function / script for encoding.