<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Doesn't the parameter of Table::GetDefinition need to be std::wstring? in File Geodatabase API Questions</title>
    <link>https://community.esri.com/t5/file-geodatabase-api-questions/doesn-t-the-parameter-of-table-getdefinition-need/m-p/455769#M768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The definition XML document is UTF-8:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;DataElement xmlns:esri="http://www.esri.com/schemas/ArcGIS/10.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="esri:DEFeatureClass"&amp;gt;
 ...&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;When the definition contains Japanese strings, these characters are garbled.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Feb 2011 08:26:02 GMT</pubDate>
    <dc:creator>SatoruGUNJI</dc:creator>
    <dc:date>2011-02-15T08:26:02Z</dc:date>
    <item>
      <title>Doesn't the parameter of Table::GetDefinition need to be std::wstring?</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/doesn-t-the-parameter-of-table-getdefinition-need/m-p/455769#M768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The definition XML document is UTF-8:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;DataElement xmlns:esri="http://www.esri.com/schemas/ArcGIS/10.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="esri:DEFeatureClass"&amp;gt;
 ...&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;When the definition contains Japanese strings, these characters are garbled.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 08:26:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/doesn-t-the-parameter-of-table-getdefinition-need/m-p/455769#M768</guid>
      <dc:creator>SatoruGUNJI</dc:creator>
      <dc:date>2011-02-15T08:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Doesn't the parameter of Table::GetDefinition need to be std::wstring?</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/doesn-t-the-parameter-of-table-getdefinition-need/m-p/455770#M769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you send me example containing Japanese strings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="mailto:lshipman@esri.com"&gt;lshipman@esri.com&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 18:31:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/doesn-t-the-parameter-of-table-getdefinition-need/m-p/455770#M769</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2011-02-18T18:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Doesn't the parameter of Table::GetDefinition need to be std::wstring?</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/doesn-t-the-parameter-of-table-getdefinition-need/m-p/455771#M770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All XML data in the File Geodatabase API is in the form of a UTF-8 encoded string, therefore using std::wstring is not appropriate.&amp;nbsp; UTF-8 is a variable length Unicode character encoding, but wstring is a wide character, or UTF-16, Unicode character encoding.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, C++ does not have built in support for UTF-8 encoded strings.&amp;nbsp; Because of this, if you need to read or print a UTF-8 encoded string, you must first convert it to another character encoding, such as wchar_t (also known as UTF-16).&amp;nbsp; The Windows run time library provides a function for this purpose: MultiByteToWideChar.&amp;nbsp; Be sure to pass �??CP_UTF8�?� as the value of the first parameter.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 17:32:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/doesn-t-the-parameter-of-table-getdefinition-need/m-p/455771#M770</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2011-02-22T17:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Doesn't the parameter of Table::GetDefinition need to be std::wstring?</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/doesn-t-the-parameter-of-table-getdefinition-need/m-p/455772#M771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much for advice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will test MultiByteToWideChar.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 01:09:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/doesn-t-the-parameter-of-table-getdefinition-need/m-p/455772#M771</guid>
      <dc:creator>SatoruGUNJI</dc:creator>
      <dc:date>2011-02-25T01:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Doesn't the parameter of Table::GetDefinition need to be std::wstring?</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/doesn-t-the-parameter-of-table-getdefinition-need/m-p/455773#M772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;MultiByteToWideChar works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will control these XML in program. Does Esri have the suggested XML parser and samples?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 00:10:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/doesn-t-the-parameter-of-table-getdefinition-need/m-p/455773#M772</guid>
      <dc:creator>SatoruGUNJI</dc:creator>
      <dc:date>2011-03-02T00:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Doesn't the parameter of Table::GetDefinition need to be std::wstring?</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/doesn-t-the-parameter-of-table-getdefinition-need/m-p/455774#M773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are using libXml. Use whatever you find convenient.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 19:25:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/doesn-t-the-parameter-of-table-getdefinition-need/m-p/455774#M773</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2011-03-02T19:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Doesn't the parameter of Table::GetDefinition need to be std::wstring?</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/doesn-t-the-parameter-of-table-getdefinition-need/m-p/455775#M774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the Xerces. This can get the Geodatabase XML properties.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 07:29:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/doesn-t-the-parameter-of-table-getdefinition-need/m-p/455775#M774</guid>
      <dc:creator>SatoruGUNJI</dc:creator>
      <dc:date>2011-03-09T07:29:39Z</dc:date>
    </item>
  </channel>
</rss>

