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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.
Great!
So I can't wait for next version ;)
Do you know how long it would take to release the new one?