[gs-bugs] [Bug 691222] Gs cannot open Unicode file names on Windows

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Sun Jun 5 09:46:46 UTC 2011


--- Comment #10 from Martin Osieka <martin.osieka at t-online.de> 2011-06-05 09:46:45 UTC ---
(In reply to comment #9)
> Believed fixed in:
> commit 0ea739147fd02ee0e63e58c036bb63fa841ddd3c
> Author: Robin Watts <Robin.Watts at artifex.com>
> Date:   Sat Jun 4 22:04:12 2011 +0100
>     This should solve bug 691222, and hopefully 691117.


What does it mean for the api interface? I guess you have to provide UTF-8
strings. If this is the case then this should be documented in api.html. Same
for stdin, stdout, stderr texts.

Maybe also the copy/paste commands in the gs window systemmenu extension could
then put/get wchar_t from clipboard and convert them to UTF-8. This would allow
to copy unicode filenames via clipboard.

The fix should should solve Bug 690026 too.

Remark 1: gd_fopen() wmode[] should not use a fixed length. I know it should
never be longer than 3, but...

Remark 2: Is the call of setlocale() in main() still usefull?

Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the gs-bugs mailing list