<?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 Re: File Geodatabase API to support Unicode ? in File Geodatabase API Questions</title>
    <link>https://community.esri.com/t5/file-geodatabase-api-questions/file-geodatabase-api-to-support-unicode/m-p/679119#M1101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes. In general wstring is used for all character parameters in the API. This implies that we are using wchar_t. But in addition to that, we are using UTF-16 encoded characters in the wchar array. Our contract is that the wstrings that we provide as output are always UTF-16 encoded characters, and we require that developers supply the same for input strings that they use in any API function call.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The exception is XML data. For XML, we use std::string, not wstring. The reason is that our XML is required to use UTF-8 encoded characters. XML is general supplied in UTF-8, and the std::string class is a better fit for working with UTF-8. We have found that using std::string to contain UTF-8 encoded XML strings is very commonly done in the C++ development community.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2011 17:21:28 GMT</pubDate>
    <dc:creator>LanceShipman</dc:creator>
    <dc:date>2011-09-14T17:21:28Z</dc:date>
    <item>
      <title>File Geodatabase API to support Unicode ?</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/file-geodatabase-api-to-support-unicode/m-p/679118#M1100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does File Geodatabase API to support Unicode ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 17:07:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/file-geodatabase-api-to-support-unicode/m-p/679118#M1100</guid>
      <dc:creator>JasonChen1</dc:creator>
      <dc:date>2011-09-14T17:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: File Geodatabase API to support Unicode ?</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/file-geodatabase-api-to-support-unicode/m-p/679119#M1101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes. In general wstring is used for all character parameters in the API. This implies that we are using wchar_t. But in addition to that, we are using UTF-16 encoded characters in the wchar array. Our contract is that the wstrings that we provide as output are always UTF-16 encoded characters, and we require that developers supply the same for input strings that they use in any API function call.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The exception is XML data. For XML, we use std::string, not wstring. The reason is that our XML is required to use UTF-8 encoded characters. XML is general supplied in UTF-8, and the std::string class is a better fit for working with UTF-8. We have found that using std::string to contain UTF-8 encoded XML strings is very commonly done in the C++ development community.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 17:21:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/file-geodatabase-api-to-support-unicode/m-p/679119#M1101</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2011-09-14T17:21:28Z</dc:date>
    </item>
  </channel>
</rss>

