unexpected char: 0xAD???

need help please!!! Thanks in advance!

my code:

var smooth = 2.0;
var DoorOpenAngle = 90.0;
var DoorCloseAngle = 0.0;
var open : boolean;
var enter : boolean;

//Main function
function Update (){

 if(open == true){
 var target = Quaternion.Euler (0, DoorOpenAngle, 0);
 // Dampen towards the target rotation
 transform.localRotation = Quaternion.Slerp(transform.localRotation­, target,
 Time.deltaTime * smooth);
 }

 if(open == false){
 var target1 = Quaternion.Euler (0, DoorCloseAngle, 0);
 // Dampen towards the target rotation
 transform.localRotation = Quaternion.Slerp(transform.localRotation­, target1,
 Time.deltaTime * smooth);
 }

 if(enter == true){
 if(Input.GetKeyDown("f")){
 open = !open;
 }
 }
}

//Activate the Main function when player is near the door
function OnTriggerEnter (other : Collider){
 
if (other.gameObject.tag == "Player") {
 (enter) = true;
 }
}

//Deactivate the Main function when player is go away from door
function OnTriggerExit (other : Collider){
 
if (other.gameObject.tag == "Player") {
 (enter) = false;
 }
}

Your file contains some characters with high ASCII values. The solution is to delete and retype in the line. If you view your document in a WP or some hex dump program you can see the values. The solution is to delete and retype the line. I saw 0xAD on line 13 and 20 above. In addition I saw a few other places with a different symbol which may or may not cause you an issue.