From a1bfb03748a46e757ae937888c20b72720e1ac9d Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Fri, 1 Mar 2013 16:42:26 +0000 Subject: Bug 693624: Ensure that windows copes with utf8 filenames When running under Windows, replace fopen with our own fopen_utf8 that converts from utf8 to unicode before calling the unicode version of fopen. --- scripts/cmapdump.c | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/cmapdump.c b/scripts/cmapdump.c index 2a83533e..b52991d7 100644 --- a/scripts/cmapdump.c +++ b/scripts/cmapdump.c @@ -56,6 +56,7 @@ main(int argc, char **argv) return 1; } +#undef fopen fo = fopen(argv[1], "wb"); if (!fo) { -- cgit v1.2.3