×

Discussion Board

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

    Unhappy Display Unicode text file to richtext editor

    Hi,
    I have a problem to display a big Unicode textfile to richtext editor. I've searched in forum and seen this link: http://discussion.forum.nokia.com/fo...in-RichTextBox

    I like to use function: iRichText1->InsertFromTextFile(....) but when i used it, the emulator is shutdown immediately.

    I'm hope to have all your help, please
    Thank in advance

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

    Re: Display Unicode text file to richtext editor

    Observe the Panic code when your application crashes.

  3. #3
    Registered User
    Join Date
    May 2010
    Posts
    8

    Re: Display Unicode text file to richtext editor

    I have tried Debug this bug. When running to iRichText1->InsertFromTextFile(fileman), my App crashed. I'm new bie, i can't solved this. Can you tell me more detail? thank a lot

  4. #4
    Regular Contributor
    Join Date
    Jun 2008
    Posts
    213

    Re: Display Unicode text file to richtext editor

    Are you sure that you give the correct path?
    Note that C: is the relative to the sdk path not the real computer c: when working with the emulator

  5. #5
    Registered User
    Join Date
    May 2010
    Posts
    8

    Re: Display Unicode text file to richtext editor

    Quote Originally Posted by assayag View Post
    Are you sure that you give the correct path?
    Note that C: is the relative to the sdk path not the real computer c: when working with the emulator
    yes, correct path,I have debugged it many time.

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

    Re: Display Unicode text file to richtext editor

    Quote Originally Posted by lonesomeboy View Post
    yes, correct path,I have debugged it many time.
    Now check what error code you receive

    read the below link if you don't know how to enable panic code

    http://wiki.forum.nokia.com/index.ph...ded_panic_code

  7. #7
    Nokia Developer Champion
    Join Date
    May 2004
    Posts
    2,267

    Re: Display Unicode text file to richtext editor

    Hi,

    It works for me. Are you sure your text file is saved in Unicode format by the Windows Notepad?

    Regards

    Ziteng Chen

  8. #8
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,684

    Re: Display Unicode text file to richtext editor

    Something similar was asked already in the other (newer) thread too, http://discussion.forum.nokia.com/fo...ikEdWin-editor

Similar Threads

  1. Display data in the RichText Editor
    By manjusg in forum Symbian
    Replies: 1
    Last Post: 2009-08-07, 08:28
  2. How to display text dynamically in RichText editor?
    By jamoussi.rania in forum Symbian User Interface
    Replies: 15
    Last Post: 2007-04-19, 05:32
  3. Replies: 4
    Last Post: 2007-04-18, 11:59
  4. chinese display in richtext editor
    By symbianyucca in forum Symbian User Interface
    Replies: 4
    Last Post: 2004-11-20, 13:03
  5. 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
  •  
×