×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    8

    Display Unicode text file to CEikEdWin editor

    Hi everybody,
    I have a trouble with displaying a text from Unicode text file. How can i display it to editor CEikEdWin.
    Thank for any help

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: Display Unicode text file to CEikEdWin editor

    Do you have the editor already? What do you mean on Unicode text file?

  3. #3
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: Display Unicode text file to CEikEdWin editor

    Quote Originally Posted by lonesomeboy View Post
    Hi everybody,
    I have a trouble with displaying a text from Unicode text file. How can i display it to editor CEikEdWin.
    Thank for any help
    What sort of trouble you are having. Are you able to read the Unicode text file properly?

  4. #4
    Nokia Developer Champion
    Join Date
    May 2004
    Posts
    2,266

    Re: Display Unicode text file to CEikEdWin editor

    Hi,

    You can try to load the text file this way:

    Code:
    // begin by chen
            // the helloworld.txt is saved by Windows Notepad in Unicode format.
            _LIT(KFileName, "c:\\data\\helloworld.txt");
            iEdwin->InsertFromTextFileL(KFileName());
    // end by chen
    Regards

    Ziteng Chen

Similar Threads

  1. Display Unicode text file to richtext editor
    By lonesomeboy in forum Symbian
    Replies: 7
    Last Post: 2010-07-21, 16:01
  2. Replies: 1
    Last Post: 2007-12-14, 05:53
  3. CEikEdwin problem(plain text editor)
    By hossein_ashrafi in forum Symbian User Interface
    Replies: 3
    Last Post: 2007-04-17, 10:30
  4. Replies: 0
    Last Post: 2004-10-07, 08:57

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •