Results 1 to 10 of 10

Thread: i am facing a problem with QTextEdit!!!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2008
    Posts
    154
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: i am facing a problem with QTextEdit!!!

    Are you sure that the data in the database is in correct encoding?
    yes i am sure it is a plain text.
    What database do you use?
    i am using microsoft access database.
    What encoding does your system use?
    i am using windows xp
    What application did you use to enter the data?
    i am using microsoft access.

  2. #2
    Join Date
    Feb 2008
    Posts
    154
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: i am facing a problem with QTextEdit!!!

    i made a new database and i entered right to left text. and showed it to QTextEdit
    and it appears successfully.
    but with my old database which is made by MS access 97 the text are not appears
    correctly.

  3. #3
    Join Date
    Feb 2008
    Posts
    154
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: i am facing a problem with QTextEdit!!!

    when i converted the database to MS access 2003 the text displayed fine.
    i don't know why!!!
    but i should operate on access 97 because i don't own the database i am just using it.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: i am facing a problem with QTextEdit!!!

    Quote Originally Posted by mismael85 View Post
    when i converted the database to MS access 2003 the text displayed fine.
    So either data in the other database uses wrong encoding or there is something wrong with the ODBC driver for that database and most likely it's the latter. For example Qt might not be able to negotiate the encoding with the driver.

    Can you see properly the data you insert into the database using Qt?

  5. #5
    Join Date
    Feb 2008
    Posts
    154
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: i am facing a problem with QTextEdit!!!

    i tried to insret data using Qt to the database that are converted to access 2002.
    but only that data are displayed with strange carachters.

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: i am facing a problem with QTextEdit!!!

    Quote Originally Posted by mismael85 View Post
    but only that data are displayed with strange carachters.
    How do you insert that data then?

Similar Threads

  1. Problem pasting text into a QTextEdit
    By Spockmeat in forum Qt Programming
    Replies: 8
    Last Post: 14th March 2009, 14:36
  2. repaint problem in QTextEdit
    By kennyxing in forum Qt Programming
    Replies: 2
    Last Post: 10th November 2006, 08:49
  3. QTextEdit problem
    By vijay anandh in forum Qt Programming
    Replies: 1
    Last Post: 14th July 2006, 11:56
  4. Facing problem with tool bar icons
    By jnana in forum Qt Programming
    Replies: 4
    Last Post: 20th April 2006, 08:37
  5. Problem with inserting text into QTextEdit
    By xorrr in forum Qt Programming
    Replies: 0
    Last Post: 6th February 2006, 11:45

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.