android text to speech not speeking : 
the problem i am having is when i set tts.speak using the s string variable it works perfectly however when i use the text i pass in with the function call it does not work both string veriables are the exact same


    private void speek(final String text){
        tts = new TextToSpeech(this, new TextToSpeech.OnInitListener() {
            @Override
            public void onInit(int status) {
                if(status == TextToSpeech.SUCCESS){
                    int isTTs = tts.setLanguage(Locale.ENGLISH);
                    if(isTTs == TextToSpeech.LANG_MISSING_DATA || isTTs == TextToSpeech.LANG_NOT_SUPPORTED){
                        System.out.println("-----------------------------       ++   not working    " + isTTs);
                        System.out.println("-----------------------------       ++   " + TextToSpeech.LANG_MISSING_DATA + "     " + TextToSpeech.LANG_NOT_SUPPORTED);
                    }else{
                        System.out.println("-----------------------------       ++   working yay    " + text);
                        tts.setPitch(0.9f);
                        tts.setSpeechRate(0.8f);
                        // if i use the variable s it works
                        String t = "Chapter 1 ...";
                        tts.speak(t, TextToSpeech.QUEUE_ADD, null);
                        // howevet this does not
                        tts.speak(text, TextToSpeech.QUEUE_ADD, null);
                    }
                }
            }
        });

    }

    TextToSpeech tts;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_read_novel);
        // call async task
        new getPage().execute(b.getString("link"));

    }


    private class getPage extends AsyncTask<String, String, String> {
        @Override
        protected String doInBackground(String... urls) {}

        @Override
        protected void onPostExecute(String result) {
            // call speak function and pass string to be spoken
            speek(result);
        }
    }

