| 1 | initial version |
The answer is you can have non-ascii characters in PSSE. They are stored in latin1 format inside PSSE.
So if you are reading from a PSSE bus you can get the string for display like this:
ierr, busname = psspy.notona(200)
busname = busname.decode('latin1')
Now your code will correctly handle languages from all around the world!
whit loves you. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.