<?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: Converting UniString to string with Hebrew characters doesn’t work in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Converting-UniString-to-string-with-Hebrew-characters-doesn-t/m-p/274918#M3263</link>
    <description>&lt;BLOCKQUOTE&gt;Tibor wrote:&lt;BR /&gt;
Hi,&lt;BR /&gt;
&lt;BR /&gt;
Why do you want to convert the GS::UniString object to const char* or std::string?&lt;BR /&gt;
Could you show us please the relevant part of your code?&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Tibor
&lt;/BLOCKQUOTE&gt;

Hi&lt;BR /&gt;
I want to use CopyFile (c++ function) and it only works with string..</description>
    <pubDate>Tue, 26 Nov 2019 12:19:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-11-26T12:19:02Z</dc:date>
    <item>
      <title>Converting UniString to string with Hebrew characters doesn’t work</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Converting-UniString-to-string-with-Hebrew-characters-doesn-t/m-p/274916#M3261</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello&lt;BR /&gt;&lt;BR /&gt;I am trying to convert a UniString which has Hebrew characters in it (it looks good on debug), to const char or string,.&lt;BR /&gt;The UniString with Hebrew characters looks good but the conversion (.toxstr().get()) kills the Hebrew characters (they become jibrish).&lt;BR /&gt;That’s a real problem for me.&lt;BR /&gt;&lt;BR /&gt;Please help!&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 Sep 2022 07:56:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Converting-UniString-to-string-with-Hebrew-characters-doesn-t/m-p/274916#M3261</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-29T07:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Converting UniString to string with Hebrew characters doesn’t work</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Converting-UniString-to-string-with-Hebrew-characters-doesn-t/m-p/274917#M3262</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Why do you want to convert the GS::UniString object to const char* or std::string?&lt;BR /&gt;
Could you show us please the relevant part of your code?&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Tibor</description>
      <pubDate>Tue, 26 Nov 2019 08:27:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Converting-UniString-to-string-with-Hebrew-characters-doesn-t/m-p/274917#M3262</guid>
      <dc:creator>Tibor Lorantfy</dc:creator>
      <dc:date>2019-11-26T08:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Converting UniString to string with Hebrew characters doesn’t work</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Converting-UniString-to-string-with-Hebrew-characters-doesn-t/m-p/274918#M3263</link>
      <description>&lt;BLOCKQUOTE&gt;Tibor wrote:&lt;BR /&gt;
Hi,&lt;BR /&gt;
&lt;BR /&gt;
Why do you want to convert the GS::UniString object to const char* or std::string?&lt;BR /&gt;
Could you show us please the relevant part of your code?&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Tibor
&lt;/BLOCKQUOTE&gt;

Hi&lt;BR /&gt;
I want to use CopyFile (c++ function) and it only works with string..</description>
      <pubDate>Tue, 26 Nov 2019 12:19:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Converting-UniString-to-string-with-Hebrew-characters-doesn-t/m-p/274918#M3263</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-26T12:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Converting UniString to string with Hebrew characters doesn’t work</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Converting-UniString-to-string-with-Hebrew-characters-doesn-t/m-p/274919#M3264</link>
      <description>I recommend you to use IO::FileSystem::Copy method instead:
&lt;PRE&gt;#include "FileSystem.hpp"

IO::Location from (uniString1);
IO::Location to (uniString2);
IO::fileSystem.Copy (from, to);&lt;/PRE&gt;
It's easier than converting &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Tue, 26 Nov 2019 12:56:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Converting-UniString-to-string-with-Hebrew-characters-doesn-t/m-p/274919#M3264</guid>
      <dc:creator>Tibor Lorantfy</dc:creator>
      <dc:date>2019-11-26T12:56:30Z</dc:date>
    </item>
  </channel>
</rss>

