<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Debenu Quick PDF Library - PDF SDK Community Forum : Special Characters File names</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : General Discussion : Special Characters File names]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 08:29:07 +0000</pubDate>
  <lastBuildDate>Wed, 23 Nov 2011 21:50:59 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=2051</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[Special Characters File names : Thanks!For future users, here...]]></title>
   <link>http://www.quickpdf.org/forum/special-characters-file-names_topic2051_post8732.html#8732</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1768">Ilana</a><br /><strong>Subject:</strong> 2051<br /><strong>Posted:</strong> 23 Nov 11 at 9:50PM<br /><br />Thanks!<div>For future users, here is the actual code, that works:<div>In C++:<br><div><div><span ="Apple-tab-span" style="white-space:pre">		</span>char *fname = "C:\\Temp\\Digi drop\\ùéèçà123\\pages.pdf";</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>const int SIZE = 1024; // Bytes</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; char* text = new char&#091;SIZE&#093;;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WCHAR w&#091;SIZE&#093;={0};</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">		</span>int erg=MultiByteToWideChar(CP_ACP, 0, fname, -1, w, SIZE); // ANSI to UNICODE</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>erg=WideCharToMultiByte(CP_UTF8, 0, w, -1, text, SIZE, 0, 0); // UNICODE to UTF-8&nbsp;</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>int hndFile = _QuickPDFDAOpenFile (InstanceID, text, NULL);</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>if (hndFile != 0)</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>{</div><div><span ="Apple-tab-span" style="white-space:pre">			</span>int x = 1;</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>}</div></div><div>In Java 6 - How to get the same UFT-8 path:</div></div><div><div><span ="Apple-tab-span" style="white-space:pre">	</span>public String getAsString (String result) &nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {&nbsp;</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>byte&#091;&#093; bt = result.getBytes();&nbsp;</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>ByteArrayOutputStream sw = new ByteArrayOutputStream (bt.length);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OutputStreamWriter osw;</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>try {</div><div><span ="Apple-tab-span" style="white-space:pre">			</span>osw = new OutputStreamWriter (sw, "UTF8");</div><div><span ="Apple-tab-span" style="white-space:pre">	</span> &nbsp; &nbsp; &nbsp; &nbsp;BufferedWriter out = new BufferedWriter (osw);&nbsp;</div><div><span ="Apple-tab-span" style="white-space:pre">	</span> &nbsp; &nbsp; &nbsp; &nbsp;out.write(result );&nbsp;</div><div><span ="Apple-tab-span" style="white-space:pre">	</span> &nbsp; &nbsp; &nbsp; &nbsp;out.close();&nbsp;</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>} catch (UnsupportedEncodingException e) {</div><div><span ="Apple-tab-span" style="white-space:pre">			</span>// TODO Auto-generated catch block</div><div><span ="Apple-tab-span" style="white-space:pre">			</span>e.printStackTrace();</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>} catch (IOException e) {</div><div><span ="Apple-tab-span" style="white-space:pre">			</span>// TODO Auto-generated catch block</div><div><span ="Apple-tab-span" style="white-space:pre">			</span>e.printStackTrace();</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>}&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; return sw.toString();&nbsp;</div><div>&nbsp; &nbsp; }</div></div><div><br></div><div><br></div></div>]]>
   </description>
   <pubDate>Wed, 23 Nov 2011 21:50:59 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/special-characters-file-names_topic2051_post8732.html#8732</guid>
  </item> 
  <item>
   <title><![CDATA[Special Characters File names : Hi Ilana!Wheeley already told...]]></title>
   <link>http://www.quickpdf.org/forum/special-characters-file-names_topic2051_post8729.html#8729</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2051<br /><strong>Posted:</strong> 23 Nov 11 at 8:50AM<br /><br />Hi Ilana!<br><br>Wheeley already told you what to do ...<br>Try things like this:<br>QP.LoadFromFile(Pchar( AnsiToUtf8(c:\\drop\\Ã¹Ã©Ã¨Ã§Ã 1232\\pages.pdf) ))<br>QP.LoadFromFile(UTF8Encode('c:\\drop\\Ã¹Ã©Ã¨Ã§Ã 1232\\pages.pdf')<br><br>...and don't forget Wheeley's ideas 2 and 3 ;-)<br><br>Cheers and welcome here,<br>Ingo<br><br>]]>
   </description>
   <pubDate>Wed, 23 Nov 2011 08:50:37 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/special-characters-file-names_topic2051_post8729.html#8729</guid>
  </item> 
  <item>
   <title><![CDATA[Special Characters File names : I am using UTF-8 characters which...]]></title>
   <link>http://www.quickpdf.org/forum/special-characters-file-names_topic2051_post8728.html#8728</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1768">Ilana</a><br /><strong>Subject:</strong> 2051<br /><strong>Posted:</strong> 22 Nov 11 at 10:58PM<br /><br />I am using UTF-8 characters which has their value is bigger then 127. For example one of the characters has the Ansi value &nbsp;of 199 and 200. Can you please advice? Thanks, Ilana.]]>
   </description>
   <pubDate>Tue, 22 Nov 2011 22:58:14 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/special-characters-file-names_topic2051_post8728.html#8728</guid>
  </item> 
  <item>
   <title><![CDATA[Special Characters File names : I can think of 3 ideas.1. Make...]]></title>
   <link>http://www.quickpdf.org/forum/special-characters-file-names_topic2051_post8722.html#8722</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=121">Wheeley</a><br /><strong>Subject:</strong> 2051<br /><strong>Posted:</strong> 22 Nov 11 at 5:48AM<br /><br />I can think of 3 ideas.<br>1. Make sure you send the file name as a UTF8 encoded string to the 7.23 DLL.<br>2. Try the 7.26 DLL with UTF8 encoding as well<br>3. Upgrade to version 8 with full unicode support<br><br>Wheeley<br>]]>
   </description>
   <pubDate>Tue, 22 Nov 2011 05:48:25 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/special-characters-file-names_topic2051_post8722.html#8722</guid>
  </item> 
  <item>
   <title><![CDATA[Special Characters File names : Hi,When trying to open a pdf file...]]></title>
   <link>http://www.quickpdf.org/forum/special-characters-file-names_topic2051_post8721.html#8721</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1768">Ilana</a><br /><strong>Subject:</strong> 2051<br /><strong>Posted:</strong> 22 Nov 11 at 3:30AM<br /><br />Hi,<div><br></div><div>When trying to open a pdf file in a directory that has German characters, the returned handle is 0. Which means that the file could not be opened.</div><div>The command&nbsp;DAOpenFile when the file is: "c:\\drop\\ùéèçà1232\\pages.pdf". Any solution for that?</div><div>I am using "QuickPDFDLL0723.dll".</div><div><br></div><div>Thanks,</div><div>Ilana.</div>]]>
   </description>
   <pubDate>Tue, 22 Nov 2011 03:30:10 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/special-characters-file-names_topic2051_post8721.html#8721</guid>
  </item> 
 </channel>
</rss>