Unicode character support

  • Ryan Stanley

    Ryan Stanley - 2009-06-15

    Are there any plans for the ghostscript console to support input of unicode foreign language characters? Specifically I'm working with Japanese and would like to use their characters in file names and PDF passwords.

    Thanks for any information you may have.

    • Russell Lang

      Russell Lang - 2009-06-16

      Ghostscript is compiled as an ANSI application, rather than Unicode.  I don't know of any plans to change it to using Unicode.

      Filenames and passwords are stored as PostScript strings, so these will always be 8-bit characters.  The best you could do would be to rely on the ANSI to Unicode conversions that automatically happen, but I don't know if that has ever been tested.