Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. What are the negative MIB values returned by QTextCodec::availableMibs()?

What are the negative MIB values returned by QTextCodec::availableMibs()?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 551 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • DiracsbracketD Offline
    DiracsbracketD Offline
    Diracsbracket
    wrote on last edited by
    #1

    According to the Qt Documentation, QTextCodec::availableMibs() returns MIBEnum values according to this standard.

    However, when printing out the various mib values, e.g.

    foreach (int mib, QTextCodec::availableMibs())
    {
         qDebug() << QTextCodec::codecForMib(mib)->name() << mib;
    }
    

    it outputs negative MIB values e.g.

    "iscii-mlm" -3008
    "iscii-knd" -3007
    "iscii-tlg" -3006
    "iscii-tml" -3005
    "iscii-ori" -3004
    "iscii-gjr" -3003
    "iscii-pnj" -3002
    "iscii-bng" -3001
    "iscii-dev" -3000
    

    What are these?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      They are defined here.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      DiracsbracketD 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        They are defined here.

        DiracsbracketD Offline
        DiracsbracketD Offline
        Diracsbracket
        wrote on last edited by
        #3

        @SGaist said in What are the negative MIB values returned by QTextCodec::availableMibs()?:

        They are defined here.

        Thanks!

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved