First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
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!