Quantcast
Channel: ArchiCAD-Talk - Developer Forum
Viewing all articles
Browse latest Browse all 564

[SOLVED] How to get current project physical file name by C++

$
0
0
Author:mar_kq
Posted: Wed Jan 25, 2017 4:33 pm (GMT+1)


I have an Issue connected to this topic.

I am able to get a project name from Teamwork using the mentioned function:
Code:

projectInfo.location_team->GetLastLocalName (&projectName);


However the returned string is UTF-8 Coded from UniString, and the result is that special characters (German Umlaut f.e.) are returned like so:

Code:

   "%20" = " ";
   "%C3%A4" = "ä";
   "%C3%AB" = "ö";
   "%C3%A6" = "ü";


What is the recommended way to decode this?


Viewing all articles
Browse latest Browse all 564

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>