Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
Printwriter out = new PrintWriter.....etc out.println("hello"); /* * This writes "hello" followed by Line feed (ASCII character 10) */ Printwriter out = new PrintWriter.....etc out.print("hello"); /* * This does not work. It should write "hello" not followed by any ASCII characters */ Printwriter out = new PrintWriter.....etc out.write("hello"); /* * This does not work. It should write "hello" not followed by any ASCII characters */ // --------------- SOLUTION ------------------ String strMessage = "Hello" + (char)13; byte[] arrByteMessage = strMessage.getBytes(); OutputStream output = socket.getOutputStream(); output.write(arrByteMessage); /* * This method performs the action I wanted "Hello" followed by Carriage Return (ASCII character 13) */