<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - File name with diacritical character are created with UTF-8 charset on Windows environment instead of UTF-16"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106965">106965</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>File name with diacritical character are created with UTF-8 charset on Windows environment instead of UTF-16
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86 (IA32)
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>pdftohtml
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>thibaut.brard@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=140233" name="attach_140233" title="Utils: use openFile instead of fopen for _WIN32 environment compatibility (UTF-16 file name)">attachment 140233</a> <a href="attachment.cgi?id=140233&action=edit" title="Utils: use openFile instead of fopen for _WIN32 environment compatibility (UTF-16 file name)">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=106965&attachment=140233'>[review]</a>
Utils: use openFile instead of fopen for _WIN32 environment compatibility
(UTF-16 file name)
When using pdftohtml (and probably other tools from /utils), I faced a problem
with file naming using diacritical char in Windows environment.
ie: when expected "file_é.xml" we obtain "file_é.xml"
The problem is that in many place in the code the function 'fopen' is used to
create files instead of the fileOpen function (from goo/gfile.h).
The fileOpen method is already dealing with that problem. Please find in
attachment a patch to fix that issue in every .cc file from utils.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>