Home Help Center

Garbled code of IcePatch2 demo

incubatorincubator Member esotericOrganization: Beijing University of Posts and TelecommunicationsProject: network security integrity
After successfully compiled the patch2 demo (F:\Ice-3.1.1-VC60\demo\IcePatch2\MFC), I translated all the english character into chinese character which is located at the application layout, then encountered the following error information:

Configuration: mfcpatchC - Win32 Release
Compiling resources...
E:\new_ICE\icepatch2 transfer files\PatchClient.rc(192) : fatal error RC1015: cannot open include file 'res\PatchClient.rc2'.
Error executing rc.exe.

patch.exe - 1 error(s), 0 warning(s)

According to the error information, I found that there have not existed the file PatchClient.rc2. I manually created the include file 'res\PatchClient.rc2' which is empty. Successfully compiled and open the application I found that all the chinese characters were garbled.

Could you please let me know what I solve this problem?


  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    I'm not sure why you are getting this error regarding the .rc2 file. Regarding the character set note that this is not an Ice specific problem, so we don't really provide assistance with such an issue. However, I would look at the character set that you used. For example, did you use Big5 when you should have used UTF16?
Sign In or Register to comment.