This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- ??? while writing chinese characters to config file.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Feb 07, 2012
12:11 AM
??? while writing chinese characters to config file.
HI All,
We have created install shield project for our application with multiple language support. Everything is working fine, recently we have added the Chinese language and facing some problem while writing the user input to config file, the Chinese characters are displaying as ??? in config file.
Here is the code to update the entered input to config file.
ConfigAdd (driverAttribute2, driverAttr2, "", REPLACE)
Where driverAttribute2 is key, driverAttr2 is the Chinese text.
Any suggestions?
Regards,
Hareen.
We have created install shield project for our application with multiple language support. Everything is working fine, recently we have added the Chinese language and facing some problem while writing the user input to config file, the Chinese characters are displaying as ??? in config file.
Here is the code to update the entered input to config file.
ConfigAdd (driverAttribute2, driverAttr2, "", REPLACE)
Where driverAttribute2 is key, driverAttr2 is the Chinese text.
Any suggestions?
Regards,
Hareen.
(3) Replies
‎Feb 09, 2012
06:45 AM
Maybe your config file is an ANSI not a UNICODE file.
Open your config file with notepad and use 'save as', then check the encoding of your file. If ANSI is shown the chinese characters cannot be stored.
Open your config file with notepad and use 'save as', then check the encoding of your file. If ANSI is shown the chinese characters cannot be stored.