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

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Mon Jun 6 06:32:16 UTC 2011


http://bugs.ghostscript.com/show_bug.cgi?id=691222

--- Comment #13 from Martin Osieka <martin.osieka at t-online.de> 2011-06-06 06:32:16 UTC ---
(In reply to comment #11)
> So, how does this work for paths defined as either environment variables or
> PostScript strings (e.g., -I___ or -sOutputFile= -sGenericResourceDir=___ or
> GS_FONTPATH environment variable/registry key) ?
> 
> Where in the process are strings UTF-8 vs. wchar ?

wchar world     conversion               utf8 world
---------------------------------------------------------
Windows                                  ghostscript
Call gs         wmain( argv) => main
Filenames       _wfopen <= gd_fopen      Open a file
Registry        RegQueryValueExW <= ?    Get/set a value
Environment     _wgetenv <= ?            Get a value
Clipboard       CF_UNICODETEXT <= ?      Get/set a text snippet
Call gs_api     none                     
                                         File content (depending on a BOM?)

-- 
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