I have an application read text message from HTTP using following code

Code:
        HttpConnection conn = null;
        InputStream stream = null;
        StringBuffer buffer = new StringBuffer();

        try {
            // dummy call to wake up nokia series 40
            conn = (HttpConnection)Connector.open(url);
            conn.setRequestMethod(HttpConnection.GET);
            conn.getResponseCode();
            conn.close();          

            conn = (HttpConnection)Connector.open(url);
            conn.setRequestMethod(HttpConnection.GET);
            conn.getResponseCode();
            //System.out.println(conn.getResponseCode());
            
            if (conn.getResponseCode() == HttpConnection.HTTP_OK)
            {
                stream = conn.openInputStream();
                int ch;
                while((ch = stream.read()) != -1) 
                    buffer.append((char)ch);
//                System.out.println(buffer.toString());
            }
            else
            {
                showNetworkError();
            }
        } catch (IllegalArgumentException ex){
            showNetworkError();
        } catch (ConnectionNotFoundException ex){
            showNetworkError();
        } catch (IOException ex){
            showNetworkError();
        } catch (SecurityException ex){
            showNetworkError();
        }
        finally{
            try{
                if(stream != null)
                    stream.close();
                if(conn != null)
                    conn.close();
            }
            catch (IOException ex){}
        }

        return buffer.toString();
When I try to display all texts by looping for each items and make a selectable menus. It can display Thai & English text on Sun WTK but display "..." on Nokia S40 3 edition emulator and Nokia 6230i device. No matter English or Thai text. Further more, I test it with Sony Ericsson phone. It can display Thai & English correctly. Don't know why cannot display on Nokia phone.