Menu

Polish (UTF-8) encoding

Help
2003-05-24
2003-05-26
  • Maciej Paczesny

    Maciej Paczesny - 2003-05-24

    Hi,
    I'm an author of Polish News Module for SK (tested 0.25 & 0.26). We have big problem with our national letters encoding. All messages displayed (python "print" command) on console ale well encoded (UTF and ISO8859-2), but if a text is taken from any kind of variable ( scalar, array, tuple or even directly from commands.getoutput("cat file") ) in python script and set into karamba.createText() - it displays within the SK window (widget) WITHOUT proper encodings.
    The same text on console is fine.
    the function locale.setlocale(locale.LC_ALL, "pl_PL.UTF-8) doesn't make a difference.

    Any sugestions?

    maciunio

     
    • Wilfried Huss

      Wilfried Huss - 2003-05-25

      Currently it is not possible to get decent multilanguage support, since all strings are treated as standard 8bit ascii by the superkaramba api functions.

      But I have just added UNICODE support to the SK-API, so in the next version it should hopefully be no problem anymore.

       
    • Maciej Paczesny

      Maciej Paczesny - 2003-05-26

      Great!
      So I can't wait for next version ;)
      Do you know how long it would take to release the new one?

       

Log in to post a comment.