Results 1 to 2 of 2

Thread: source in unicode 4.0

  1. #1
    Join Date
    Mar 2006
    Posts
    17
    Thanks
    4

    Question source in unicode 4.0

    Hi!
    I know that Qt 4 internally uses unicode 4.0. I would like to have my source code also in this encoding, so I wouldn't have to use QTextCodec class. Please tell me what encoding should I set in IDE (Code::Blocks) to have Unicode 4.0? There are f.e.: UTF-8, UTF-16 LE, UTF-32 BE and similar.
    greetings

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: source in unicode 4.0

    Quote Originally Posted by conexion2000 View Post
    Hi!
    I know that Qt 4 internally uses unicode 4.0. I would like to have my source code also in this encoding, so I wouldn't have to use QTextCodec class. Please tell me what encoding should I set in IDE (Code::Blocks) to have Unicode 4.0? There are f.e.: UTF-8, UTF-16 LE, UTF-32 BE and similar.
    greetings
    You'll have to set a text codec for C strings anyway since QString defaults to Latin-1 in const char* to byte array conversions, so you don't want that.

    Regards

Similar Threads

  1. Replies: 10
    Last Post: 17th July 2014, 10:52
  2. Source code in qt-win-eval
    By Max Yaffe in forum Newbie
    Replies: 3
    Last Post: 12th April 2007, 14:17
  3. out of source qtopiamake???
    By izico in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 20th March 2007, 18:31
  4. Licencing issue with Qt Open source
    By thepasty in forum General Discussion
    Replies: 16
    Last Post: 26th July 2006, 14:56
  5. Replies: 11
    Last Post: 24th March 2006, 06:40

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.