'charmap' codec can't decode byte 0x8f in position 2: character maps to <undefined>
Hello All, I have been getting the below error when I tried to run the query that returns the branch name and not sure how to resolve the issue. Your help is much appreciated. Thanks in Advance!!
*
*>     ierr1, rval = psspy.brnnam(barray[0][j],jbus,ickt)  
> File ".\psspy.py", line 90052, in
> brnnam   File
> "C:\Python37\lib\encodings\cp1252.py",
> line 15, in decode
>         return codecs.charmap_decode(input,errors,decoding_table)
> UnicodeDecodeError: 'charmap' codec
> can't decode byte 0x8f in position 2:
> character maps to <undefined>*
 *
 