pygments - save Python script with formatting - special characters -
I use pygmentize to save my Python script as an RTF file (keyword in syntax with proprietary color it depends on). Unfortunately, with the strange symbols, the program has special characters (Ä, ??, º, Ä ??, ó), what is the option to set the appropriate code page? Alternatively - is there any other device that can carry out this operation properly?
If there is no answer for both questions - how should I remove all special characters from the Python script automatically?
Did you use the actual pygmentize of this kind of actual encoding of your source file? If you do not do this, then it's the default in Latin-1 that does not contain the characters you describe.
Comments
Post a Comment