Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.
2015-06-08
10:03 AM
- last edited on
2023-07-13
03:49 PM
by
Doreena Deng
2015-06-08 09:59 PM
ggiloyan wrote:Take a look at
My goal is to save some information for each physical project.
Is there a way to get current project file name using C++ ?
2015-06-09 08:51 AM
2015-06-09 01:27 PM
Ralph wrote:Thank you for the help!ggiloyan wrote:Take a look at
My goal is to save some information for each physical project.
Is there a way to get current project file name using C++ ?APIEnv_GetProjectNotesID. The returned data includes the project name.
2015-06-17 04:20 AM
2017-01-25 04:33 PM
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:
2017-01-25 09:13 PM
mar_kq wrote:What do you want to decode it into?
…the returned string is UTF-8 Coded from UniString. What is the recommended way to decode this?
2017-01-26 09:12 AM
Ralph wrote:Hello Ralph,mar_kq wrote:What do you want to decode it into?
…the returned string is UTF-8 Coded from UniString. What is the recommended way to decode this?
2017-01-26 10:25 AM
mar_kq wrote:C doesn't define an encoding as such. The old C string libraries only typically assume an 8-bit encoding terminated by a null byte.
What I need is to get a C String with the special characters: ü,... etc. What I get for the moment is %C3%A6 instead.
Is there an API function to do this or do I require other libraries?