error when saving a java file ( Some characters can not be mapped using Cp1252 character encoding)
<p>When I am tring to save a java file, an error occured and and I can not save the file.</p>

<p>Error is :</p>

<p>"Some characters can not be mapped using Cp1252 character encoding."</p>

<p>My Code is :</p>

<p>package org.anddev.android.HelloWorld;</p>

<p>import android.app.Activity;</p>

<p>import android.content.SharedPreferences; </p>

<p>import android.os.Bundle; </p>

<p>import android.text.Editable; </p>

<p>import android.text.TextWatcher; </p>

<p>import android.view.View; </p>

<p>import android.view.View.OnClickListener; </p>

<p>import android.widget.*; </p>

<p>public class LifeCycleDemo extends Activity 
{ </p>

<p>LinearLayout myScreen; </p>

<p>TextView txtColorSelect; </p>

<p>int actMode = 0; </p>

<p>@Override </p>

<p>public void onCreate(Bundle savedInstanceState)
 { </p>

<p>super.onCreate(savedInstanceState); </p>

<p>setContentView(R.layout.lifecycledemo); </p>

<p>myScreen = (LinearLayout) findViewById(R.id.myScreen); </p>

<p>TextView txtToDo = (TextView) findViewById(R.id.txtToDo); </p>

<p>String msg = </p>

<p>"Instructions: \n" + "0. New instance (onCreate, onStart, onResume) \n" + 
"1. Back Arrow (onPause, onStop, onDestroy) \n" + "2. Finish (onPause, onStop, onDestroy) \n" + "3. Home (onPause, onStop) \n" + "4. After 3 > App Tab > re-execute current app \n" 
+ " (onRestart, onStart, onResume) \n" + "5. Run DDMS > Receive a phone call or SMS \n" 
+ " (onRestart, onStart, onResume) \n" + "6. Enter some data - repeat steps 1-5 \n"; </p>

<p>　
　
　</p>

<p>txtToDo.setText(msg);
@Override </p>

<p>protected void onPause() 
{ 
     super.onPause(); 
    //saveDataFromCurrentState(); </p>

<pre><code> Toast.makeText(this, "onPause", 1).show(); 
</code></pre>

<p>}</p>

<p>@Override </p>

<p>protected void onRestart() 
{ 
super.onRestart(); </p>

<p>Toast.makeText(</p>

<p>this, "onRestart", 1).show(); </p>

<p>}</p>

<p>@Override </p>

<p>protected void onResume()
 { </p>

<p>super.onResume(); </p>

<p>Toast.makeText(</p>

<p>this, "onResume", 1).show(); </p>

<p>}</p>

<p>@Override </p>

<p>protected void onStart()
 { </p>

<p>// TODO Auto-generated method stub </p>

<p>super.onStart(); </p>

<p>//updateFromSavedState(); 
Toast.makeText(this, "onStart", 1).show(); </p>

<p>}</p>

<p>@Override </p>

<p>protected void onDestroy()
 { </p>

<p>// TODO Auto-generated method stub </p>

<p>super.onDestroy();</p>

<p>Toast.makeText(this, "onDestroy", 1).show(); </p>

<p>}</p>

<p>@Override </p>

<p>protected void onStop() 
{ </p>

<p>// TODO Auto-generated method stub 
super.onStop(); </p>

<p>Toast.makeText(this, "onStop", 1).show(); </p>

<p>}</p>

<p>Please help me,...
　</p>
