We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Archicad C++ API
About Archicad add-on development using the C++ API.
SOLVED!

How can I use utf8 in grc file? (AC28)

YONGWOO KIM
Participant

This is when I used in AC24.

'$(SDK_24)" is archicad dev api path mecro in my project. (C:\Program Files\GRAPHISOFT\API Development Kit 24.3009)

And 'Resource.h' file is located in Source\Include, so I contain that path.

 

 

 

cl /nologo /X /EP /P /I "$(SDK_24)\Support\Inc" /I "$(SDK_24)\Support\Modules\DGLib" /I ".\Source\Include" /FI"$(SDK_24)\Support\Inc\utf8header.h" /DWINDOWS /Fi"$(OutDir)\RO\$(ProjectName).grc.rc2.i" "RINT\$(ProjectName).grc"
        "$(SDK_24)\Support\Tools\Win\ResConv.exe" -m r -D WINDOWS -T W -q utf8 utf8 -c 0 -i "$(OutDir)\RO\$(ProjectName).grc.rc2.i" -o "$(OutDir)\RO\$(ProjectName).grc.rc2"

 

 

 

AC28 there is no 'utf8header.h' file.

When I use english, there is no problem.

If I use korean, there is problem.

I thought this problem was caused by utf8.

 

 

 

cl /nologo /X /EP /P /I "$(SDK_28)\Support\Inc" /I "$(SDK_28)\Support\Modules\DGLib" /I ".\Source\Include" /DWINDOWS /Fi"$(OutDir)\RO\$(ProjectName).grc.rc2.i" "RINT\$(ProjectName).grc"
        "$(SDK_28)\Support\Tools\Win\ResConv.exe" -m r -D WINDOWS -T W-c 0 -q utf8 utf8 -i "$(OutDir)\RO\$(ProjectName).grc.rc2.i" -o "$(OutDir)\RO\$(ProjectName).grc.rc2"

 

 

 

https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-embed-non-ASCII-strings-in-a-GRC-file/t...

I have already seen this post.

But, I already use '-c 0' and '-q utf8 utf8'.

Is there any other solution?

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
LChen
Graphisoft
Graphisoft

Hi, Didn't you misprint the 'W-c'? that should have a space between 'W' and '-c'.

HTH.

View solution in original post

1 REPLY 1
Solution
LChen
Graphisoft
Graphisoft

Hi, Didn't you misprint the 'W-c'? that should have a space between 'W' and '-c'.

HTH.

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!