GSM unable to send sms

Hi , I am trying to use GSM module to send sms . Its working and reading all AT commands except it is unable to read (0x1a) or ((char)26).It shows empty box there in serial monitor and no message is sent. Is there any other way of showing ctrl+z character,or it some other issue?

void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Serial.println("AT+CMGF=1");
delay(1000);
Serial.println("AT+CMGS=\"+918888888888\"\r");
delay(1000);
Serial.print("Hello");
delay(1000);
Serial.println((0x1A  );

}

void loop() {
// put your main code here, to run repeatedly:

}

Something wrong with your code which you haven't posted.
If you do, use code tags </>.

Screenshot is useless.

I have posted the code. Please verify.

one error is Serial.println((0x1A );

Sorry but it is still showing empty box when typed (0x1A) or ((char) 26) or (0x1a).

It shows empty box there in serial monitor and no message is sent.

I think these are different problems.

If you have the correct entry of the CTRL+Z command the message should be sent if the rest of your code and hardware setup is correct.

Serial.println((char)26);

Expecting that unprintable character to be echoed back and printed as a character in the Serial monitor is a different issue.